Part Number Hot Search : 
SC241 FOA5401 2SA1129 XWD4812 C4382 IRF223 C441PE H32S72
Product Description
Full Text Search
 

To Download MAX11359A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  for pricing, delivery, and ordering information, please contact maxim direct at 1-888-629-4642, or visit maxim? website at www.maximintegrated.com. MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor general description the MAX11359A smart data-acquisition systems (das) is based on a 16-bit, sigma-delta analog-to-digital converter(adc) and system- support functionality for a micro- processor (p)-based system. the device integrates anadc, dac, operational amplifiers, internal selectable- voltage reference, temperature sensors, analog switch- es, a 32khz oscillator, a real-time clock (rtc) with alarm, a high-frequency-locked loop (fll) clock, four user-programmable i/os, an interrupt generator, and 1.8v and 2.7v voltage monitors in a single chip. the MAX11359A has dual 10:1 differential input multiplex- ers (muxes) that accept signal levels from 0 to avdd. an on-chip 1x to 8x programmable-gain amplifier (pga) allows measuring low-level signals and reduces external circuitry required. the max11358b operates from a single +1.8v to +3.6v supply and consumes only 1.4ma in normal mode and only 6.1a in sleep mode. the max11385b has one dacs with two uncommitted op amp. the serial interface is compatible with either spi/qspi? or microwire ? , and is used to power up, configure, and check the status of all functional blocks.the MAX11359A is available in a space-saving, 40-pin tqfn package and is specified over the commercial (0 c to +70 c) and the extended (-40 c to +85 c) tem- perature ranges. applications battery-powered and portable deviceselectrochemical and optical sensors medical instruments industrial control data-acquisition systems features ? +1.8v to +3.6v single-supply operation ? multichannel 16-bit sigma-delta adc 10sps to 512sps programmable conversion rateself and system offset and gain calibration pga with gains of 1, 2, 4, or 8 unipolar and bipolar modes 10-input differential multiplexer ? 10-bit force-sense dacs ? uncommitted op amps ? dual spdt analog switches ? selectable references 1.25v, 1.996v and 2.422v ? internal charge pump ? system support real-time clock and alarm registerinternal/external temperature sensor internal oscillator with clock output user-programmable i/o and interrupt generator v dd monitors ? spi/qspi/microwire, 4-wire serial interface ? space-saving (6mm x 6mm x 0.75mm), 40-pin tqfnpackage 19-4594; rev 1; 1/12 qspi is a trademark of motorola, inc. microwire is a registered trademark of national semiconductor corp. 40 39 38 37 36 35 34 33 32 31 21 22 23 24 25 26 27 28 29 30 cpout in1+ in1- out2in2+ swa fba outa agnd in2- ain2 top view ain1 ref reg avdd cf- cf+ dvdd dgnd upio1 *connect ep to agnd or leave unconnected. 11 *ep 12 13 14 15 16 17 18 19 20 10 9 8 7 6 5 4 3 2 1 clk upio2 upio3 upio4 dout sclk din int clk32k 32kout 32kin sno1 scm1 snc1 out1 snc2scm2 sno2 MAX11359A cs reset tqfn + pin configuration ordering information part temp range pin-package MAX11359Aetl+ -40 c to +85 c 40 tqfn-ep** MAX11359Actl+* 0 c to +70 c 40 tqfn-ep** + denotes a lead(pb)-free/rohsCcompliant package. * future productcontact factory for availability. ** ep = exposed pad. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 2 maxim integrated absolute maximum ratings electrical characteristics (v avdd = v dvdd = +1.8v to +3.6v, v ref = +1.25v, external reference, clk32k = 32.768khz (external clock), c reg = 10f, c cpout = 10f, 10f between cf+ and cf-, t a = t min to t max , unless otherwise noted. typical values are at t a = +25 c.) (note 1) stresses beyond those listed under absolute maximum ratings may cause permanent damage to the device. these are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. avdd to agnd ........................................................-0.3v to +4v dvdd to dgnd ........................................................-0.3v to +4v avdd to dvdd ...........................................................-4v to +4v agnd to dgnd.....................................................-0.3v to +0.3v clk32k to dgnd ..................................-0.3v to (v dvdd + 0.3v) upio_ to dgnd........................................................-0.3v to +4v digital inputs to dgnd ............................................-0.3v to +4v analog inputs to agnd..........................-0.3v to (v avdd + 0.3v) digital output to dgnd ......................-0.3v to (v dvdd + 0.3v) analog outputs to agnd .......................-0.3v to (v avdd + 0.3v) continuous current into any pin.........................................50ma continuous power dissipation (t a = +70 c) 40-pin tqfn (derate 25.6mw/ c above +70 c) ....2051.3mw operating temperature range max11358_ _ctl+ .............................................0 c to +70 c max11358_ _etl+ ..........................................-40 c to +85 c junction temperature ......................................................+150c storage temperature range .............................-65 c to +150 c lead temperature (soldering, 10s) .................................+300 c parameter symbol conditions min typ max units adc dc accuracy noise-free resolution data rate = 10sps, pga gain = 2;data rate = 10sps to 60sps, pga gain = 1; no missing codes, table 1 (note 2) 16 bits conversion rate no missing codes, table 1 10 512 sps output noise no missing codes table 1 v rms integral nonlinearity inl unipolar mode, v avdd = 3v, pga gain = 1, t a = +25 c, data rate = 50sps 0.004 %fsr uncalibrated 1.0 unipolar offset error or bipolarzero error (note 3) pga gain = 1, calibrated,t a = +25 c, data rate = 50sps 0.003 %fsr bipolar 2.0 unipolar offset-error or bipolarzero-error temperature drift (note 4) unipolar 10 v/ c uncalibrated 0.6 gain error (notes 3, 5) pga = 1, calibrated, data rate = 50sps 0.003 %fsr gain-error temperaturecoefficient (notes 4, 6) 1.0 ppm/ c dc positive power-supplyrejection ratio psrr pga gain = 1, unipolar mode, measured by full-scale error with v avdd = 1.8v to 3.6v 73 db adc analog inputs (ain1, ain2) dc input common-moderejection ratio cmrr pga gain = 1, unipolar mode 85 db downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 3 maxim integrated electrical characteristics (continued)(v avdd = v dvdd = +1.8v to +3.6v, v ref = +1.25v, external reference, clk32k = 32.768khz (external clock), c reg = 10f, c cpout = 10f, 10f between cf+ and cf-, t a = t min to t max , unless otherwise noted. typical values are at t a = +25 c.) (note 1) parameter symbol conditions min typ max units normal-mode 60hz rejectionratio pga gain = 1, unipolar mode, data rate = 50sps (note 2) 100 db normal-mode 50hz rejectionratio data rate = 10sps or 50sps, pga gain = 1,unipolar mode (note 2) 100 db absolute input range inter nal tem p er atur e sensor d i sab l ed ( fi g ur e 26) v agnd v avdd v unipolar mode -0.05/ gain v ref / gain differential input range bipolar mode -v ref / gain v ref / gain v adc not in measurement mode, muxenabled, t a +55 c, inputs = +0.1v to (v avdd - 0.1v) 1 dc input current (note 7) t a = +85 c 5 na input sampling capacitance c in 5p f input sampling rate f sample 21.84 khz e xter nal s our ce im ped ance at inp ut (table 3) table 3 k ? force-sense dac (r l = 10k ? and c l = 200pf, fba = outa, unless otherwise noted) resolution guaranteed monotonic 10 bits differential nonlinearity dnl code 3dhex to 3ff hex 1 lsb integral nonlinearity inl code 3dhex to 3ff hex 4 lsb offset error reference to code 52 hex 20 mv offset-error tempco 4.4 v/ c gain error excludes offset and voltage reference error 5 lsb gain-error tempco excludes offset and reference drift 1 ppm/ c input leakage current at swa/b swa switches open (notes 7, 8) 1n a t a = -40 c to +85 c 1n a t a = 0 c to +70 c 600 input leakage current at fba/b v fba = +0.3v to (v avdd - 0.3v) (note 7) t a = 0 c to +50 c 400 pa dac output buffer leakagecurrent dac buffer disabled (note 7) 75 na input common-mode voltage at fba 0 v avdd - 0.35 v line regulation v avdd = +1.8v to +3.6v, t a = +25c 40 175 v/v load regulation i out = 2ma, c l = 1000pf (note 2) 0.5 v/a output voltage range v agnd v avdd v downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 4 maxim integrated electrical characteristics (continued)(v avdd = v dvdd = +1.8v to +3.6v, v ref = +1.25v, external reference, clk32k = 32.768khz (external clock), c reg = 10f, c cpout = 10f, 10f between cf+ and cf-, t a = t min to t max , unless otherwise noted. typical values are at t a = +25 c.) (note 1) parameter symbol conditions min typ max units output slew rate 52 hex to 3ff hex code swing rising orfalling, r l = 10k ? , c l = 100pf 40 v/ms output-voltage settling time 10% to 90% rising or falling to 0.5 lsb 65 s f = 0.1hz to10hz 80 input voltage noise referred to fba,excludes reference noise f = 10hz to10khz 200 v p-p outa shorted to agnd 20 output short-circuit current outa shorted to avdd 15 ma input-output swa/swbswitch resistance between swa and outa, hfck enabled 150 ? swa/swb switch turn-on/offtime hfck enabled 100 ns power-on time excluding reference 18 s external reference (ref) input voltage range v agnd v avdd v input resistance dac on, internal ref and adc off 2.5 m ? dc input leakage current internal ref, dac, and adc off (note 7) 100 na internal voltage reference (c ref = 4.7f) v avdd +1.8v, t a = +25 c 1.238 1.251 1.264 v avdd +2.2v, t a = +25 c 1.976 1.996 2.016 reference output voltage v ref v avdd +2.7v, t a = +25 c 2.349 2.422 2.495 v v ref = 1.251v 15 50 output-voltage temperaturecoefficient (note 7) tc v ref = 1.996v, 2.422v 65 ppm/ o c ref shorted to agnd 18 ma output short-circuit current i rsc ref shorted to avdd 90 a line regulation t a = +25 c 100 v/v i source = 0 to 500a 1.2 load regulation t a = +25 c, v ref = 1.25v i sink = 0 to 50a 1.7 v/a downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 5 maxim integrated electrical characteristics (continued)(v avdd = v dvdd = +1.8v to +3.6v, v ref = +1.25v, external reference, clk32k = 32.768khz (external clock), c reg = 10f, c cpout = 10f, 10f between cf+ and cf-, t a = t min to t max , unless otherwise noted. typical values are at t a = +25 c.) (note 1) parameter symbol conditions min typ max units long-term stability (note 9) 35 ppm/ 1000hrs f = 0.1hz to 10hz, v avdd = 3v 50 output noise voltage f = 10hz to 10khz, v avdd = 3v 400 v p-p turn-on settling time buffer only, settle to 0.1% of final value 100 s temperature sensor temperature measurementresolution adc resolution is 16-bit, 10sps 0.11 c/lsb t a = 0 c to +50 c 0.5 internal temperature-sensormeasurement error internal voltagereference, four- current calibration, and stored calibration coefficients t a = -40 o c to +85 c 1 c t a = +25 c 0.50 t a = 0 c to +50 c 0.5 external temperature-sensormeasurement error (note 10) t a = -40 c to +85 c 1.0 c temperature measurement noise 0.18 c rms temperature measurementpower-supply rejection ratio 0.2 c/v op amp (r l = 10k ? connected to v avdd /2) input offset voltage v os v cm = 0.5v 15 mv offset-error tempco 3 v/ o c t a = -40 c to +85 c 0.006 1n a t a = 0 c to +70 c4 300 in1+, in2+, in3+ t a = 0 c to +50 c2 200 pa t a = -40 c to +85 c 0.025 1n a t a = 0 c to +70 c2 0 600 input bias current (note 7) i bias in1-, in2-, in3- t a = 0 c to +50 c 400 pa input offset current i os v in 1 _ , v in 2 _ = + 0.3v to ( v avdd - 0.3v ) ( n ote 1n a input common-mode voltagerange cmvr 0 v avdd - 0.35 v 0 v c m 75mv 60 common-mode rejection ratio cmrr 75mv < v c m v avdd - 0.35v, t a = +25c 60 75 db downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 6 maxim integrated electrical characteristics (continued)(v avdd = v dvdd = +1.8v to +3.6v, v ref = +1.25v, external reference, clk32k = 32.768khz (external clock), c reg = 10f, c cpout = 10f, 10f between cf+ and cf-, t a = t min to t max , unless otherwise noted. typical values are at t a = +25 c.) (note 1) parameter symbol conditions min typ max units power-supply rejection ratio psrr v avdd = +1.8v to +3.6v, t a = +25c 76.5 100 db large-signal voltage gain a vol 100mv v out_ v avdd - 100mv (note 11) 90 116 db i source = 10a 0.005 i source = 50a 0.025 i source = 100a 0.05 i source = 500a 0.25 sourcing i source = 2m a 0.5 i sink = 10a 0.005 i sink = 50a 0.025 i sink = 100a 0.05 i sink = 500a 0.25 maximum current drive ? v out sinking i sink = 2m a 0.5 v gain bandwidth product gbw unity-gain configuration, c l = 1nf 80 khz phase margin unity-gain configuration, c l = 1nf (note 11) 60 degrees output slew rate sr c l = 200pf 0.04 v/s f = 0.1hz to 10hz 80 input voltage noise unity-gainconfiguration f = 10hz to 10khz 200 v p-p v out_ shorted to agnd 20 output short-circuit current v out_ shorted to avdd 15 ma power-on time 15 s spdt switches (sno_, snc_, scm_, hfck enabled) v scm_ = 0v t a = 0c to +50c 45 v scm_ = 0.5v t a = 0c to +50c 50 on-resistance r on v scm_ = 0.5v to v avdd 150 ? t a = -40 c to +85 c 1n a t a = 0 c to +70 c 600 sno_, snc_ off-leakagecurrent i sno_ ( off ) i snc_ ( off ) v s n o_ , v s n c _ = + 0.5v , + 1.5v ; v s c m _ = + 1.5v , + 0.5v ( n ote 7) t a = 0 c to +50 c 400 pa t a = -40 c to +85 c 2 t a = 0 c to +70 c 1.2 scm_ off-leakage current i scm_ ( off ) v s n o_ , v s n c _ = + 0.5v , + 1.5v ; v s c m _ = + 1.5v , + 0.5v ( n ote 7) t a = 0 c to +50 c 0.8 na t a = -40 c to +85 c 2 t a = 0 c to +70 c 1.2 scm_ on-leakage current i scm_ ( on ) v s n o_ , v s n c _ = + 0.5v , + 1.5v , or unconnected ; v s c m _ = + 1.5v , + 0.5v ( n ote 7) t a = 0 c to +50 c 0.8 na input voltage range v agnd v avdd v turn-on/off time t on /t off break-before-make 100 ns downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 7 maxim integrated electrical characteristics (continued)(v avdd = v dvdd = +1.8v to +3.6v, v ref = +1.25v, external reference, clk32k = 32.768khz (external clock), c reg = 10f, c cpout = 10f, 10f between cf+ and cf-, t a = t min to t max , unless otherwise noted. typical values are at t a = +25 c.) (note 1) parameter symbol conditions min typ max units input capacitance sno_, snc_, or scm_ = avdd or agnd;switch connected to enabled mux input 5p f charge pump (10f at reg and 10f external capacitor between cf+ and cf-) maximum output current i out 10 ma no load 3.2 3.3 3.6 output voltage i out = 10ma 3.0 v output voltage ripple 10f external capacitor between cpoutand dgnd, i out = 10ma, excluding esr of external capacitor 50 mv load regulation i out = 10ma, excluding esr of external capacitor 15 20 mv/ma reg input voltage range internal linear regulator disabled 1.6 1.8 v reg input current linear regulator off, charge pump off 3 na cpout input voltage range charge pump disabled 1.8 3.6 v cpout input leakage current charge pump disabled 2 na signal-detect comparator tsel[2:0] = 0 hex 0 tsel[2:0] = 4 hex 50 tsel[2:0] = 5 hex 100 tsel[2:0] = 6 hex 150 differential input-detectionthreshold voltage tsel[2:0] = 7 hex 200 mv differential input-detectionthreshold error 10 mv common-mode input voltagerange v agnd v avdd v turn-on time 50 s voltage monitors dvdd monitor supply voltage range for valid reset 1.0 3.6 v trip threshold (v dvdd falling) 1.80 1.85 1.90 v dvdd monitor timeout resetperiod 1.5 s hyse bit set to logic 1 200 dvdd monitor hysteresis hyse bit set to logic 0 35 mv downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 8 maxim integrated electrical characteristics (continued)(v avdd = v dvdd = +1.8v to +3.6v, v ref = +1.25v, external reference, clk32k = 32.768khz (external clock), c reg = 10f, c cpout = 10f, 10f between cf+ and cf-, t a = t min to t max , unless otherwise noted. typical values are at t a = +25 c.) (note 1) parameter symbol conditions min typ max units dvdd monitor turn-on time 5m s cpout monitor supply voltagerange 1.0 3.6 v cpout monitor trip threshold 2.7 2.8 2.9 v cpout monitor hysteresis 35 mv cpout monitor turn-on time 5m s internal power-on reset voltage 1.7 v 32khz oscillator (32kin, 32kout) clock frequency v dvdd = 2.7v 32.768 khz stability v dvdd = 1.8v to 3.6v, excluding crystal 25 ppm oscillator startup time 1500 ms crystal load capacitance 6p f low-frequency clock input/output (clk32k) output clock frequency 32.768 khz absolute input to output clockjitter cycle to cycle 5 ns input to output rise/fall time 10% to 90%, 30pf load 5 ns input duty cycle 40 60 % output duty cycle 43 % high-frequency clock output (clk) f out = f fll 4.8660 4.9152 4.9644 f out = f fll /2, power-up default 2.4330 2.4576 2.4822 f out = f fll /4 1.2165 1.2288 1.2411 mhz fll output clock frequency f out = f fll /8 608.25 614.4 620.54 khz cycle to cycle, fll off 0.15 absolute clock jitter cycle to cycle, fll on 1 ns rise and fall time t r /t f 10% to 90%, 30pf load 10 ns f out = 4.9152mhz 40 60 duty cycle f out = 2.4576mhz, 1.2288mhz, 614.4khz 45 55 % uncalibrated clk frequencyerror fll calibration not performed 35 % digital inputs (sclk, din, cs , upio_, clk32k) input high voltage v ih 0.7 x v dvdd v input low voltage v il 0.3 x v dvdd v downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 9 maxim integrated electrical characteristics (continued)(v avdd = v dvdd = +1.8v to +3.6v, v ref = +1.25v, external reference, clk32k = 32.768khz (external clock), c reg = 10f, c cpout = 10f, 10f between cf+ and cf-, t a = t min to t max , unless otherwise noted. typical values are at t a = +25 c.) (note 1) parameter symbol conditions min typ max units dvdd supply voltage 0.7 x v dvdd upio_ input high voltage cpout supply voltage 0.7 xv cpout v dvdd supply voltage 0.3 x v dvdd upio_ input low voltage cpout supply voltage 0.3 x v cpout v input hysteresis v hys v dvdd = 3.0v 200 mv input current i in v in = v dgnd or dvdd (note 7) 0.01 100 na input capacitance v in = v dgnd or dvdd 10 pf v in = dvdd or v cpout , pullup enabled 0.01 1 upio_ input current v in = dvdd or v cpout or 0v, pullup disabled 1 a upio_ pullup current v in = 0, pullup enabled, unconnected upio inputs are pulled up to dvdd or cpout with pullup enabled 0.5 2 5 a digital outputs (dout, reset , upio_, clk32k, int, clk) output low voltage v ol i sink = 1ma 0.4 v output high voltage v oh i source = 500a 0.8 x v dvdd v dout three-state leakagecurrent i l 0.01 1 a dout three-state outputcapacitance c out 15 pf reset output low voltage v ol i sink = 1ma 0.4 v reset output leakage current open-drain output, reset deasserted 0.1 a i sink = 1ma, upio_ referenced to dvdd 0.4 upio_ output low voltage v ol i sink = 4ma, upio_ referenced to cpout 0.4 v i source = 500a, upio_ referenced to dvdd 0.8 x v dvdd upio_ output high voltage v oh i source = 4ma, upio_ referenced to cpout v c p ou t - 0.4 v power requirement analog supply voltage range avdd 1.8 3.6 v digital supply voltage range dvdd 1.8 3.6 v downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 10 maxim integrated electrical characteristics (continued)(v avdd = v dvdd = +1.8v to +3.6v, v ref = +1.25v, external reference, clk32k = 32.768khz (external clock), c reg = 10f, c cpout = 10f, 10f between cf+ and cf-, t a = t min to t max , unless otherwise noted. typical values are at t a = +25 c.) (note 1) parameter symbol conditions min typ max units v avdd = v dvdd = 3.6v 1.36 2.0 i max e ver ythi ng on, char g e p um p unl oad ed , no d i g i tal p i ns, si nki ng /sour ci ng cur r ent, e.g ., rs t , u p io, and c lk32k, m ax i nter nal tem p - sensor cur r ent, cl ock outp ut b uffer s unl oad ed , ad c at 512sp s v avdd = v dvdd = 3.3v 1.15 1.7 total supply current i normal all on except charge pump and tempsensor, adc at 512sps, clk output buffer enabled, clock output buffers unloaded 1.17 1.3 ma v avdd = v dvdd = 3.0v 6.5 t a = -45c to +85c v avdd = v dvdd = 9 v avdd = v dvdd = 3.0v 4.42 sleep-mode supply current i sleep t a = +25c v avdd = v dvdd = 3.6v 5.56 a t a = -40c to +85c 4 shutdown supply current i shdn all off t a = +25c 1.6 a note 1: devices are production tested at t a = +25c and t a = +85c. specifications to t a = -40c are guaranteed by design. note 2: guaranteed by design or characterization. note 3: the offset and gain errors are corrected by self-calibration or system calibration. for accurate calibrations, perform cali-bration at the lowest rate. the calibration error is therefore in the order of peak-to-peak noise for the selected rate. note 4: eliminate drift errors by recalibration at the new temperature. note 5: the gain error excludes reference error, offset error (unipolar), and zero error (bipolar). note 6: gain-error drift does not include unipolar offset drift or bipolar zero-error drift. it is effectively the drift of the part if zero- scale error is removed. note 7: these specifications are obtained from characterization during design or from initial product evaluation. not productiontested or guaranteed. note 8: v outa = +0.5v or +1.5v, v swa = +1.5v or +0.5v, t a = 0 c to +50 c. note 9: long-term stability is characterized using five to six parts. the bandgaps are turned on for 1000hrs at room temperaturewith the parts running continuously. daily measurements are taken and any obvious outlying data points are discarded. note 10: all of the stated temperature accuracies assume that 1) the external diode characteristic is precisely known (i.e., ideal)and 2) the adc reference voltage is exactly equal to 1.25v. any variations to this known reference characteristic and volt- age caused by temperature, loading, or power supply results in errors in the temperature measurement. the actual tem- perature calculation is performed externally by the microcontroller (c). note 11: values based on simulation results and are not production tested or guaranteed. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 11 maxim integrated output noise (v rms ) rate (sps) gain = 1 gain = 2 gain = 4 gain = 8 10 1.684 1.684 1.684 1.684 40 3.178 3.178 3.178 3.178 50 3.234 3.234 3.234 3.234 60 3.307 3.307 3.307 3.307 200 55.336 55.336 55.336 55.336 240 104.596 104.596 104.596 104.596 400 587.138 587.138 587.138 587.138 512 983.979 983.979 983.979 983.979 table 1. output noise (notes 12, 13, and 14) note 12: v ref = 1.25v, bipolar mode, v in = 1.24912v, pga gain = 1, t a = +85c. note 13: c in = 5pf, op-amp noise is considered to be the same as the switching noise. the increase in the op amps noise contri- bution is due to a large input swing (0 to 3.6v). note 14: assume 3 sigma peak-to-peak variation; noise-free resolution means no code flicker at given bits lsb. peak-to-peak resolution (bits) rate (sps) gain = 1 gain = 2 gain = 4 gain = 8 10 17.49 17.49 17.49 17.49 40 16.57 16.57 16.57 16.57 50 16.55 16.55 16.55 16.55 60 16.51 16.51 16.51 16.51 200 12.45 12.45 12.45 12.45 240 11.53 11.53 11.53 11.53 400 9.04 9.04 9.04 9.04 512 8.30 8.30 8.30 8.30 table 2. peak-to-peak resolution external capacitance (pf) parameter 0 (note 15) 50 100 500 1000 5000 resistance (k ) 350 60 30 10 4 1 table 3. maximum external source impedance without 16-bit gain error note 15: 2pf parasitic capacitance is assumed, which represents pad and any other parasitic capacitance. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 12 maxim integrated timing characteristics (figures 1 and 20)(v avdd = v avdd = +1.8v to +3.6v, external v ref = +1.25v, clk32k = 32.768khz (external clock), c reg = 10f, c cpout = 10f, 10f between cf+ and cf-, t a = t min to t max , unless otherwise noted. typical values are at t a = +25 c.) (note 1) parameter symbol conditions min typ max units sclk operating frequency f sclk 0 10 mhz sclk cycle time t cyc 100 ns sclk pulse-width high t ch 40 ns sclk pulse-width low t cl 40 ns din to sclk setup t ds 30 ns din to sclk hold t dh 0n s sclk fall to dout valid t do c l = 50pf, figure 2 40 ns cs fall to output enable t dv c l = 50pf, figure 2 48 ns cs rise to dout disable t tr c l = 50pf, figure 2 48 ns cs to sclk rise setup t css 20 ns cs to sclk rise hold t csh 0n s dvdd monitor timeout period t dslp (note 16) 1.5 s wake-up (wu) pulse width t wu minimum pulse width required to detect awake-up event 1 s shutdown delay t dpu the delay for shdn to go high after a valid wake-up event 1 s the turn-on time for the high-frequencyclock and fll (flle = 1) (note 17) 10 ms hfck turn-on time t dfon if flle = 0, the turn-on time for the high-frequency clock (note 18) 10 s crdy to int delay t dfi the delay for crdy to go low after thehfck clock output has been enabled (note 19) 7.82 ms hfck disable delay t dfof the delay after a shutdown command hasasserted and before hfck is disabled (note 20) 1.95 ms shdn assertion delay t dpd (note 21) 2.93 ms note 16: the delay for the sleep voltage monitor output, reset , to go high after v dd rises above the reset threshold. this is largely driven by the startup of the 32khz oscillator. note 17: it is gated by an and function with three inputsthe external reset signal, the internal dv dd monitor output, and the external shdn signal. the time delay is timed from the internal lov dd going high or the external reset going high, whichever happens later. hfck always starts in the low state. note 18: if flle = 0, the internal signal crdy is not generated by the fll block and int or int are deasserted. note 19: crdy is used as an interrupt signal to inform the c that the high-frequency clock has started. only valid if flle = 1. note 20: t dfof gives the c time to clean up and go into sleep-override mode properly. note 21: t dpd is greater than the hfck delay for the max11358b/MAX11359A to clean up before losing power. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 13 maxim integrated t ds t css t dh t dv t do t tr cs sclk din dout t csh t cyc t ch t cl t csh figure 1. detailed serial-interface timing dvdd c load = 50pf 6k ? douta) for enable, high impedance to v oh and v ol to v oh for disable, v oh to high impedance b) for enable, high impedance to v ol and v oh to v ol for disable, v ol to high impedance dout 6k ? c load = 50pf figure 2. dout enable and disable time load circuits typical operating characteristics (v dvdd = v avdd = 1.8v, v ref = +1.25v, c cpout = 10f, t a = +25 c, unless otherwise noted.) 200 300 500400 600 700 1.8 2.4 2.1 2.7 3.0 3.3 3.6 dvdd supply current vs. dvdd supply voltage MAX11359A toc01 v dvdd (v) supply current ( a) normal modeclk buffer disabled 0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 1.8 2.4 2.1 2.7 3.0 3.3 3.6 MAX11359A toc02 v dvdd (v) supply current ( a) dvdd supply current vs. dvdd supply voltage sleep mode, clk buffer disabled32khz osc, rtc, dvdd monitor enabled 0 0.2 0.60.4 0.8 1.0 1.8 2.4 2.1 2.7 3.0 3.3 3.6 MAX11359A toc03 v dvdd (v) supply current ( a) dvdd supply current vs. dvdd supply voltage sleep mode,all functions disabled downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 14 maxim integrated typical operating characteristics (continued) (v dvdd = v avdd = 1.8v, v ref = +1.25v, c cpout = 10f, t a = +25 c, unless otherwise noted.) dvdd supply current vs. temperature MAX11359A toc04 temperature ( c) supply current ( a) 60 35 10 -15 300 400 500 600 700200 -40 85 v dvdd = 3.0v normal modeclk buffer disabled v dvdd = 1.8v 0 1.00.5 2.01.5 2.5 3.0 -40 10 -15 35 60 85 MAX11359A toc05 temperature ( c) supply current ( a) dvdd supply current vs. temperature sleep mode, clk buffer disabled32khz osc, rtc, dvdd monitor enabled v dvdd = 3.0v v dvdd = 1.8v dvdd supply current vs. temperature MAX11359A toc06 temperature ( c) supply current ( a) 60 35 10 -15 0.2 0.4 0.6 0.8 1.0 0 -40 85 v dvdd = 3.0v sleep mode, allfunctions disabled v dvdd = 1.8v 250 275 300 325 350 375 400 425 450 1.8 2.4 2.1 2.7 3.0 3.3 3.6 MAX11359A toc07 v avdd (v) supply current ( a) avdd supply current vs. avdd supply voltage normal mode 1.5 2.0 3.02.5 3.5 4.0 1.8 2.4 2.1 2.7 3.0 3.3 3.6 avdd supply current vs. avdd supply voltage MAX11359A toc08 v avdd (v) supply current ( a) sleep mode, 32khz osc, rtc, dvdd monitor enabled 1.0 1.2 1.61.4 1.8 2.0 1.8 2.4 2.1 2.7 3.0 3.3 3.6 avdd supply current vs. avdd supply voltage MAX11359A toc09 v avdd (v) supply current ( a) sleep mode, all functions disabled 200 225 250 275 300 325 350 375 400 -40 -15 10 35 60 85 MAX11359A toc10 temperature ( c) supply current ( a) normal mode avdd supply current vs. temperature v avdd = 3.0v v avdd = 1.8v 1.0 2.01.5 3.02.5 3.5 4.0 -40 10 -15 35 60 85 MAX11359A toc11 temperature ( c) supply current ( a) avdd supply current vs. temperature v avdd = 3.0v v avdd = 1.8v sleep mode,32khz osc, rtc, dvdd monitor enabled avdd supply current vs. temperature MAX11359A toc12 temperature ( c) supply current ( a) 60 35 10 -15 1.2 1.4 1.6 1.8 2.01.0 -40 85 v avdd = 3.0v sleep mode, allfunctions disabled v avdd = 1.8v downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 15 maxim integrated typical operating characteristics (continued) (v dvdd = v avdd = 1.8v, v ref = +1.25v, c cpout = 10f, t a = +25 c, unless otherwise noted.) 2.1 2.32.2 2.52.4 2.72.6 2.8 -40 10 -15 35 60 85 internal oscillator frequency vs. temperature MAX11359A toc13 temperature ( c) internal oscillator frequency (mhz) c a: fll disabled; v avdd , v dvdd = 1.8v b: fll enabledc: fll disabled; v avdd , v avdd = 3.0v b a clk = 2.4576mhz 2.20 2.25 2.30 2.35 2.40 2.45 2.50 2.55 2.60 1.8 2.4 2.1 2.7 3.0 3.3 3.6 internal oscillator frequency vs. supply voltage MAX11359A toc14 v avdd , v dvdd (v) internal oscillator frequency (mhz) fll enabled clk = 2.4576mhz fll disabled 3.02.5 2.0 1.5 1.0 1.8 2.7 2.1 2.4 3.0 3.3 3.6 reference output voltage vs. supply voltage MAX11359A toc15 v avdd (v) reference output voltage (v) c b a a: v ref = 1.25v b: v ref = 2.048v c: v ref = 2.5v 1.25101.2505 1.2500 1.2495 1.2490 -50 250 50 150 350 450 reference output voltage vs. output current MAX11359A toc16 output current ( a) v ref (v) v avdd = 1.8v v ref = 1.25v 2.0472 2.04762.0474 2.04802.0478 2.04842.0482 2.0486 reference output voltage vs. output current MAX11359A toc17 v ref (v) v avdd = 2.5v v ref = 2.048v -50 250 50 150 350 450 output current ( a) 2.5030 2.50362.5034 2.5032 2.5038 2.5040 2.5042 2.5044 2.5046 2.5048 2.5050 MAX11359A toc18 v ref (v) -50 250 50 150 350 450 output current ( a) v avdd = 3.0v v ref = 2.5v reference output voltage vs. output current 0.9970 0.9975 0.9980 0.9985 0.9990 0.9995 1.0000 1.0005 1.0010 -40 -15 10 35 60 85 normalized reference output voltage vs. temperature MAX11359A toc19 temperature ( c) normalized reference voltage (v) v ref = 1.25v 0.9970 0.9975 0.9980 0.9985 0.9990 0.9995 1.0000 1.0005 1.0010 -40 -15 10 35 60 85 normalized reference output voltage vs. temperature MAX11359A toc20 temperature ( c) normalized reference voltage (v) v ref = 2.048v 0.9970 0.9975 0.9980 0.9985 0.9990 0.9995 1.0000 1.0005 1.0010 -40 -15 10 35 60 85 normalized reference output voltage vs. temperature MAX11359A toc21 temperature ( c) normalized reference voltage (v) v ref = 2.5v downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 16 maxim integrated typical operating characteristics (continued) (v dvdd = v avdd = 1.8v, v ref = +1.25v, c cpout = 10f, t a = +25 c, unless otherwise noted.) 1s/div reference voltage output noise (0.1hz to 10hz) 50 v/div MAX11359A toc22 v ref = +1.25v v avdd = +1.8v reference voltage output noise vs. frequency MAX11359A toc23 frequency (hz) 1k 100 10 1000 1 10k 10,000 100 v ref = 1.25v noise (nv/ hz) reference voltage output noise vs. frequency MAX11359A toc24 frequency (hz) 1k 100 10 1000 1 10k 10,000 100 v ref = 2.048v noise (nv/ hz) reference voltage output noise vs. frequency MAX11359A toc25 frequency (hz) 1k 100 10 1000 1 10k 10,000 100 v ref = 2.5v noise (nv/ hz) -12 -8 -10 -4-6 0 -2 2 -40 10 -15 35 60 85 adc mux input dc current vs. temperature MAX11359A toc26 temperature ( c) input current ( a) v avdd = 1.8v v ain = 0.5v -0.25 -0.15 0.05 -0.05 0.15 0.25 0 400 200 600 800 1000 dac inl vs. output code MAX11359A toc27 output code inl (lsb) v avdd = 1.8v v ref = 1.25v -0.25 -0.15 0.05 -0.05 0.15 0.25 0 400 200 600 800 1000 dac inl vs. output code MAX11359A toc28 output code inl (lsb) v avdd = 2.5v v ref = 2.048v -0.25 -0.15 0.05 -0.05 0.15 0.25 0 400 200 600 800 1000 dac inl vs. output code MAX11359A toc29 output code inl (lsb) v avdd = 3.0v v ref = 2.5v -0.20 -0.15 -0.10 -0.05 0 0.05 0.10 0.15 0.20 0 400 200 600 800 1000 dac dnl vs. output code MAX11359A toc30 output code dnl (lsb) v avdd = 1.8v v ref = 1.25v downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 17 maxim integrated typical operating characteristics (continued) (v dvdd = v avdd = 1.8v, v ref = +1.25v, c cpout = 10f, t a = +25 c, unless otherwise noted.) -0.20 -0.15 -0.10 -0.05 0 0.05 0.10 0.15 0.20 0 400 200 600 800 1000 dac dnl vs. output code MAX11359A toc31 output code dnl (lsb) v avdd = 2.5v v ref = 2.048v -0.20 -0.15 -0.10 -0.05 0 0.05 0.10 0.15 0.20 0 400 200 600 800 1000 dac dnl vs. output code MAX11359A toc32 output code dnl (lsb) v avdd = 3.0v v ref = 2.5v 1.240 1.242 1.244 1.246 1.248 0 0.50 1.00 1.50 0.25 0.75 1.25 1.75 2.00 dac output voltage vs. output source current MAX11359A toc33 source current (ma) dac output voltage (v) code = 3ff hexv avdd = 1.8v, 3.0v 0 0.05 0.10 0.15 0.20 0.25 0.30 dac output voltage vs. output sink current MAX11359A toc34 dac output voltage (v) 0 0.50 1.00 1.50 0.25 0.75 1.25 1.75 2.00 source current (ma) code = 020 hex v avdd = 1.8v v avdd = 3.0v 650640 630 610 600 1.8 2.7 2.1 2.4 3.0 3.3 3.6 dac output voltage vs. analog supply voltage MAX11359A toc35 v dvdd (v) dac output voltage (mv) code = 200 hex 620 620 622 626624 628 630 -40 10 -15 35 60 85 dac output voltage vs. temperature MAX11359A toc36 temperature ( c) dac output voltage (mv) v avdd = 3.0v v avdd = 1.8v v ref = 1.25v code = 200 hex -5 -3-4 -1-2 10 2 -40 10 -15 35 60 85 dac fba/b input bias current vs. temperature MAX11359A toc37 temperature ( c) input bias current ( a) v avdd = 1.8v v ain = 0.5v 1s/div dac output noise (0.1hz to 10hz) 50 v/div MAX11359A toc38 v avdd = +1.8v v ref = +1.25v dac code = 3ff hex dac output noise vs. frequency MAX11359A toc39 frequency (hz) 1k 100 10 1000 1 10k 10,000 100 dac code = 3ff hexv ref = 2.5v noise (nv/ hz) downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 18 maxim integrated typical operating characteristics (continued) (v dvdd = v avdd = 1.8v, v ref = +1.25v, c cpout = 10f, t a = +25 c, unless otherwise noted.) 40 s/div dac large-signal output step response MAX11359A toc40 v ref = +1.25v v avdd = +3.0v cs2v/div out_1v/div op-amp input offset voltage vs. temperature MAX11359A toc41 temperature ( c) input offset voltage (mv) 60 35 10 -15 6.3 6.6 6.9 7.2 7.56.0 -40 85 v avdd = 1.8v v cm = 0.5v v avdd = 3.0v 0 42 86 10 12 -40 10 -15 35 60 85 MAX11359A toc42 temperature ( c) input bias current (pa) op-amp input bias current vs. temperature v avdd = 1.8v v cm = 0.5v -2 0 2 4 6 8 10 12 14 -40 -15 10 35 60 85 MAX11359A toc43 temperature ( c) input bias current (pa) op-amp input bias current vs. temperature v avdd = 3.0v v cm = 0.5v 0 50 150100 200 250 0 0.50 0.75 0.25 1.00 1.25 1.50 1.75 2.00 op-amp output voltage vs. output sink current MAX11359A toc44 sink current (ma) output voltage (mv) unity gain, v in_ + = 0v v avdd = 1.8v v avdd = 3.0v 2.80 2.84 2.922.88 2.96 3.00 0 0.50 0.75 0.25 1.00 1.25 1.50 1.75 2.00 op-amp output voltage vs. output source current MAX11359A toc45 source current (ma) output voltage (v) v avdd = 3.0v unity gain, v in_ + = v avdd downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 19 maxim integrated typical operating characteristics (continued) (v dvdd = v avdd = 1.8v, v ref = +1.25v, c cpout = 10f, t a = +25 c, unless otherwise noted.) 1.60 1.65 1.70 1.75 1.80 op-amp output voltage vs. output source current MAX11359A toc46 output voltage (v) unity gain, v in_ + = v avdd v avdd = 1.8v 0 0.50 0.75 0.25 1.00 1.25 1.50 1.75 2.00 source current (ma) op-amp output voltage vs. temperature MAX11359A toc47 temperature ( c) output voltage (mv) 60 35 10 -15 500.2 500.4 500.6 500.8 501.0500.0 -40 85 v avdd = 1.8v v avdd = 3.0v unity gain, v in_ + = 0.5v r l = 10k ? 1.8 2.7 2.1 2.4 3.0 3.3 3.6 op-amp output voltage vs. av dd supply voltage MAX11359A toc48 v avdd (v) output voltage (mv) 500.2 500.4 500.6 500.8 501.0500.0 unity gain, v in_ + = 0.5v r l = 10k ? MAX11359A toc49 frequency (hz) 1k 100 10 1000 1 10k 10,000 100 noise (nv/ hz) op-amp output noise vs. frequency unity gain, v in_ + = 0.5v 25 35 5545 65 75 0 1.0 0.5 1.5 2.0 2.5 3.0 spdt on-resistance vs. v com voltage MAX11359A toc50 v com (v) r on ( ? ) v avdd = 3.0v v avdd = 1.8v 50 70 110 90 130 150 01 . 0 0.5 1.5 2.0 2.5 3.0 spst on-resistance vs. v com voltage MAX11359A toc51 v com (v) r on ( ? ) v avdd = 3.0v v avdd = 1.8v downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 20 maxim integrated typical operating characteristics (continued) (v dvdd = v avdd = 1.8v, v ref = +1.25v, c cpout = 10f, t a = +25 c, unless otherwise noted.) spdt on-resistance vs. temperature MAX11359A toc52 temperature ( c) r on ( ? ) 60 35 10 -15 33 36 39 42 4530 -40 85 v avdd = 3.0v i com = 1ma v avdd = 1.8v 82 8885 9491 97 100 -40 10 -15 35 60 85 MAX11359A toc53 temperature ( c) r on ( ? ) spst on-resistance vs. temperature v avdd = 1.8v, 3.0v i com = 1ma spdt/spst on-/off-leakage current vs. temperature MAX11359A toc54 temperature ( c) leakage current (pa) 60 35 10 -15 1 10 100 0.1 -40 85 on-leakage off-leakage v avdd = 1.8v v cm = 0v 15 2520 3530 40 45 1.8 2.4 2.7 2.1 3.0 3.3 3.6 spdt/spst switching time vs. avdd supply voltage MAX11359A toc55 v avdd (v) switching times (ns) t on t off spdt/spst switching time vs. temperature MAX11359A toc56 temperature ( c) switching times (ns) 60 35 10 -15 34 38 42 46 5030 -40 85 v avdd = 1.8v t on t off spdt/spst switching time vs. temperature MAX11359A toc57 temperature ( c) switching times (ns) 60 35 10 -15 19 23 27 31 3515 -40 85 v avdd = 3.0v t on t off downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 21 maxim integrated typical operating characteristics (continued) (v dvdd = v avdd = 1.8v, v ref = +1.25v, c cpout = 10f, t a = +25 c, unless otherwise noted.) -0.20 -0.10-0.15 0 -0.05 0.05 0.10 -40 10 -15 35 60 85 MAX11359A toc58 temperature ( c) % deviation voltage supervisor threshold vs. temperature dvdd supervisor cpout supervisor 3.0 3.23.1 3.43.3 3.5 3.6 04 26 8 1 0 charge-pump output voltage vs. output current MAX11359A toc59 output current (ma) cpout voltage (v) v dvdd = 1.8v 3.10 3.14 3.223.18 3.26 3.30 -40 10 -15 35 60 85 charge-pump output voltage vs. temperature MAX11359A toc60 temperature ( c) cpout voltage (v) v dvdd = 3.0v v dvdd = 1.8v i out = 10ma 0 20 6040 80 100 08 41 2 1 6 2 0 charge-pump output resistance vs. capacitance MAX11359A toc61 c f ( f) output resistance ( ? ) v dvdd = 1.8v i out = 10ma 0 10 3020 40 50 04 26 8 1 0 charge-pump output voltage ripple vs. output current MAX11359A toc62 output current (ma) output voltage ripple (mv) v dvdd = 1.8v 20 s/div charge-pump output voltage ripple MAX11359A toc63 v dvdd = +1.8v i load = 10ma cpout20mv/div ac-coupled downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 22 maxim integrated pin name function 1 clk clock output. default is 2.457mhz output clock for c. 2 upio2 user-programmable input/output 2. see the upio2_ctrl register section for functionality. 3 upio3 user-programmable input/output 3. see the upio3_ctrl register section for functionality. 4 upio4 user-programmable input/output 4. see the upio4_ctrl register section for functionality. 5d o u t serial-data output. data is clocked out on sclks falling edge. high impedance when cs is high. when upio/spi passthrough mode is enabled, dout mirrors the state of upio1. 6 sclk serial-clock input. clocks data in and out of the serial interface. 7 din serial-data input. data is clocked in on sclks rising edge. 8 cs active-low chip-select input. data is not clocked into din unless cs is low. when cs is high, dout is high impedance. high impedance when cs is high. when upio/spi passthrough mode is enabled, dout mirrors the state of upio1. 9 int programmable active-high/low interrupt output. adc, upio wake-up, alarm, and voltage-monitor events. 10 clk32k 32khz clock input/output. outputs 32khz clock for c. can be programmed as an input by enabling the io32e bit to accept an external 32khz input clock. the rtc, pwm, and watchdog timer always use the internal 32khz clock derived from the 32khz crystal. 11 reset active-low open-drain reset output. remains low while dvdd is below the 1.8v voltage threshold, andstays low for a timeout period (t dslp ) after dvdd rises above the 1.8v threshold. reset also pulses low when the watchdog timer times out and holds low during por until the 32khz oscillator stabilizes. 12 32kout 32khz crystal output. connect external 32khz watch crystal between 32kin and 32kout. 13 32kin 32khz crystal input. connect external 32khz watch crystal between 32kin and 32kout or drive withcmos level as shown in figure 25. 14 sno1 analog switch 1 normally open terminal. analog input to mux. 15 scm1 analog switch 1 common terminal. analog input to mux. 16 snc1 analog switch 1 normally closed terminal. analog input to mux (open on por). 17 sno2 analog switch 2 normally open terminal. analog input to mux. 18 scm2 analog switch 2 common terminal. analog input to mux (open on por). 19 snc2 analog switch 2 normally closed terminal. analog input to mux. 20 out1 amplifier 1 output. analog input to mux. 21 in1- amplifier 1 inverting input. analog input to mux. 22 in1+ amplifier 1 noninverting input 23 swa daca spst shunt switch input. connects to outa through a spst switch. 24 fba daca force-sense feedback input. analog input to mux. pin description downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 23 maxim integrated pin name function 25 outa daca force-sense output. analog input to mux. 26 agnd analog ground 27 avdd analog supply voltage. also adc reference voltage during avdd measurement. bypass to agnd with10f and 0.1f capacitors in parallel as close to the pin as possible. 28 in2+ amplifier 2 noninverting input 29 in2- amplifier 2 inverting input. analog input to mux. 30 out2 amplifier 2 output. analog input to mux. 31 ain2 analog input 2. analog input to mux. inputs have internal programmable current source for externaltemperature measurement. 32 ain1 analog input 1. analog input to mux. inputs have internal programmable current source for externaltemperature measurement. 33 ref reference input/output. output of the reference buffer amplifier or external reference input. disabled atpower-up to allow external reference. reference voltage for adc and dac. 34 reg linear voltage-regulator output. charge-pump-doubler input voltage. bypass reg with a 10f capacitor to dgnd for charge-pump regulation. 35 cf- 36 cf+ c har g e- p um p fl yi ng c ap aci tor ter m i nal s. c onnect an exter nal 10f ( typ ) cap aci tor b etw een c f+ and c f- . 37 cpout c har g e- p um p outp ut. c onnect an exter nal 10f ( typ ) r eser voi r cap aci tor b etw een c p o u t and d gn d . ther e i s a l ow thr eshol d d i od e b etw een dvdd and c p ou t. when the char g e p um p i s d i sab l ed , c p ou t i s p ul l ed up w i thi n 300m v ( typ ) of dvdd. 38 dvdd digital supply voltage. bypass to dgnd with 10f and 0.1f capacitors in parallel as close to the pin aspossible. 39 dgnd digital ground. also ground for cascaded linear voltage regulator and charge-pump doubler. 40 upio1 u ser - p r og r am m ab l e inp ut/o utp ut 1. s ee the u p io1_c trl reg i ster for functionality. e p e xp osed p ad . leave unconnected or connect to agn d . pin description (continued) downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 24 maxim integrated detailed description the MAX11359A das features a multiplexed differential16-bit adc, 10-bit force-sense dacs, an rtc with an alarm, a selectable bandgap voltage reference, a signal- detect comparator, 1.8v and 2.7v voltage monitors, and wake-up control circuitry, all controlled by a 4-wire serial interface (see figure 3 for the functional diagram). the das directly interfaces to various sensor outputs and,once configured, provides the stimulus, signal condition- ing, and data conversion, as well as p support. see the applications section for sample MAX11359A applications. the 16-bit adc features programmable continuous con-version rates as shown in table 4, and gains of 1, 2, 4, and 8 (table 5) to suit applications with different power temp sensor ref agnd outa out2 scm2 out1 agnd ref inm1 in2- scm1 fba ain1 sno1 snc1 temp+ temp- sno2 snc2 ain2 10:1 mux neg 10:1 mux pos av = 1, 2, 4, 8 v/v polarity flipper prog. vos pga av = 1, 1.6384, 2 v/v upio dgnd agnd avdd dvdd serial interface din cs dout sclk 1.25v bandgap ref 16-bit adc in+in- ref op1 10-bit dac outa ref fba buf swa pga out1 sno1 snc1 scm1 cmp upio1upio2 upio3 upio4 32.768khz oscillator 32kin 32kout watchdog timer 4.9152mhz hf oscillator and fll clk clk32k ain2 ain1 interrupt int pwm clk32k input/output control dvdd (1.8v) voltage monitor rtc and alarm sno2 snc2 scm2 charge- pump doubler cf+ cf- in1- in1+ prog current source temp+temp- 32k ain2 ain1 cpout (2.7v) voltage monitor linear 1.65v voltage regulator cpout reg status 4 reset ldvd ald crdysdc add adou upr<4:1> 4 upf<4:1> lcpd 16 control logic hfclk m32k m32k m32k hfclk wdto dvdd MAX11359A op2 out2 in2- in2+ spdt1spdt2 figure 3. max11358b functional diagram downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 25 maxim integrated and dynamic range constraints. the force-sense dacprovides 10-bit resolution for precise sensor applica- tions. the adc and dacs both utilize a low-drift 1.25v internal bandgap reference for conversions and full- scale range setting. the rtc has a 138-year range and provides an alarm function that can be used to wake up the system or cause an interrupt at a predefined time. the power-supply voltage monitor detects when dvdd falls below a trip threshold voltage of +1.8v and asserts reset . the MAX11359A uses a 4-wire serial interface to communicate directly between spi, qspi, ormicrowire devices for system configuration and readback functions. analog-to-digital converter (adc) the MAX11359A includes a sigma-delta adc with pro-grammable conversion rate, a pga, and a dual 10:1 input mux. when performing continuous conversions at 10sps or single conversions at the 40sps setting (effec- tively 10sps due to four sample sigma-delta settling), the adc has 16-bit noise-free resolution. the noise-free resolution drops to 10 bits at the maximum sampling rate of 512sps. differential inputs support unipolar (between 0 and v ref ) and bipolar (between v ref ) modes of operation. note: avoid combinations of input signal and pga gains that exceed the reference rangeat the adc input. the adou bit in the status register indicates if the adc has overranged or underranged. zero-scale and full-scale calibrations remove offset and gain errors. direct access to gain and zero-scale cali- bration registers allows system-level offset and gain cal- ibration. the zero-scale adjustment register allows intentional positive offset skewing to preserve unipolar- mode resolution for signals that have a slight negative offset (i.e., unipolar clipping near zero can be removed). perform adc calibration whenever the adc configura- tion, temperature, or avdd changes. the adc-done status can be programmed to provide an interrupt on int or on any upio_. pga gain an integrated pga provides four selectable gains: +1v/v,+2v/v, +4v/v, and +8v/v to maximize the dynamic range of the adc. bits gain1 and gain0 set the gain (see the adc register for more information). the pga gain is implemented in the digital filter of the adc. adc modulator the MAX11359A performs analog-to-digital conversionsusing a single-bit, 3rd-order, switched-capacitor sigma- delta modulator. the sigma-delta modulation converts the input signal into a digital pulse train whose average duty cycle represents the digitized signal information. the pulse train is then processed by a digital decimation filter. the modulator provides 2nd-order frequency shap- ing of the quantization noise resulting from the single-bit quantizer. the modulator is fully differential for maximum signal-to-noise ratio and minimum susceptibility to power-supply noise. signal-detect comparator int asserts (and remains asserted) within 30s whenthe differential voltage on the selected analog inputs exceeds the signal-detect comparator trip threshold. the signal-detect comparators differential input trip threshold (i.e., offset) is user selectable and can be pro- grammed to the following values: 0mv, 50mv, 100mv, 150mv, or 200mv. analog inputs the adc provides two external analog inputs: ain1and ain2. the rail-to-rail inputs accept differential or single-ended voltages, or external temperature-sensing diodes. the unused op amps, switches, or dac inputs and output pins can also be used as rail-to-rail analog inputs if the associated function is disabled. analog input protection internal protection diodes clamp the analog inputs toavdd and agnd, and allow the channel input to swing from (v avdd - 0.3v) to (v avdd + 0.3v). for accurate conversions near full scale, the inputs must not exceedav dd by more than 50mv or be lower than agnd by 50mv. if the inputs exceed (v agnd - 0.3v) to (v avdd + 0.3v), limit the current to 50ma. analog mux the MAX11359A includes a dual 10:1 mux for the positiveand negative inputs of the adc. figure 3 illustrates which signals are present at the inputs of each mux for the MAX11359A. the muxp[3:0] and muxn[3:0] bits of the mux register select the input to the adc and the signal- detect comparator (tables 8 and 9). see the mux register description in the register definitions section for multi- plexer functionality. the pol bit of the adc registerswaps the polarity of mux output signals to the adc. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 26 maxim integrated digital filtering the MAX11359A contains an on-chip digital lowpass fil-ter that processes the data stream from the modulator using a sinc 4 (sinx/x) 4 response. the sinc 4 filter has a settling time of four output data periods (4 x 200ms).the MAX11359A has 25% overrange capability built into the modulator and digital filter: figure 4 shows the filter frequency response. the sinc 4 characteristic -3db cutoff frequency is 0.228 times the first notch frequency. the output data rate for the digital filter corresponds with the positioning of the first notch of the filters fre- quency response. the notches of the sinc 4 filter are repeated at multiples of the first notch frequency. thesinc 4 filter provides an attenuation of better than 100db at these notches. for example, 50hz is equal tofive times the first notch frequency and 60hz is equal to six times the first notch frequency. force-sense dac the MAX11359A incorporates a 10-bit force-sensingdac. the dacs reference voltage sets the full-scale range. program the daca_op register using the serial interface to set the output voltages of the dac at outa. connecting resistors in a voltage-divider configuration between outa, fba, and gnd sets a different closed- loop gain for the output amplifier (see the applications information section). the dac output amplifier typically settles to 0.5 lsbfrom a full-scale transition within 50s (unity gain and loaded with 10k ? in parallel with 200pf). loads of less than 1k ? may degrade performance. see the typical operating characteristics for the source-and-sink capability of the dac output.the MAX11359A features a software-programmable shutdown mode for the dac. power down daca by clearing the dae bits (see the daca_op register sec- tion). dac output outa goes high impedance whenpowered down. the dac is normally powered down at power-on reset. charge pump the charge pump provides > 3v at cpout with a maxi-mum 10ma load. enable the charge pump through the ps_vmons register. the charge pump is powered from dvdd. see figures 5 and 6 for block diagrams of the charge pump and linear regulator. the charge pump is disabled at power-on reset. an internal clock drives the charge-pump clock and adc clock. the charge pump delivers a maximum 10ma of current to external devices. the droop and the ripple depend on the clock frequency (f clk = 32.768khz/2), switch resistances (r switch = 5 ? ), and the external capacitors (10f) along with their respec-tive esrs, as shown below. vi r r fc r esr esr v i fc i esr droop out out out clk f switch c c ripple out clk cpout out c f cpou t cpout = =+ ++ =+ 1 24 2 hf n sin n f f sin f f m m () = ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1 4 frequency (hz) gain (db) 100 80 60 40 20 -160 -120 -80 -40 0 -200 0 120 figure 4. filter frequency response downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 27 maxim integrated voltage supervisors the MAX11359A provides voltage supervisors to monitordvdd and cpout. the first supervisor monitors the dvdd supply voltage. reset asserts and sets the corre- sponding ldvd status bit when dvdd falls below the1.8v threshold voltage. when the dvdd supply voltage rises above the threshold during power-up, reset deasserts after a nominal 1.5s timeout period to give thecrystal oscillator time to stabilize. set the threshold hys- teresis using the hyse bit of the ps_vmons register. see the ps_vmons register section for configuring hys- teresis. there is no separate voltage monitor for avdd,but the analog supply is covered by the dvdd monitor in many applications where dvdd and avdd are externally connected together. multiple supply applications where avdd and dvdd are not connected together require a separate external voltage monitor for avdd. see figure 7 for a block diagram of the dvdd voltage supervisor. the second voltage monitor tracks the charge-pump output voltage, cpout. if cpout falls below the 2.7v threshold, a corresponding register status bit (lcpd) isset to flag the condition. the cpout monitor output can also be mapped to the interrupt generator and out- put on int. the cpout monitor can be used as a 3v avdd monitor in applications where the charge pump is disabled and cpout is connected to avdd. avdd must be greater or equal to dvdd when cpout is used to monitor avdd . see figure 8 for a block diagram of the cpout voltage supervisor. interrupt generator (int) the interrupt generator provides an interrupt to anexternal c. the source of the interrupt is generated by the status register and can be masked and unmasked through the imsk register. crdy is unmasked by default, and int is active-high at power-on reset. int is programmable as active-high and active-low. possible sources include a rising or falling edge of upio_, an rtc alarm, an adc conversion completion, or the volt- age-supervisor outputs. the interrupt causes int to assert when configured as an interrupt output. op 1.22v 1.65v linear 1.65v voltage regulator dvdd reg ldoe ldoe figure 5. linear-regulator block diagram cf+ cf- cpout reg m32k charge-pump doubler nonoverlap clock generator cpe figure 6. charge-pump block diagram downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 28 maxim integrated crystal oscillator the on-chip oscillator requires an external crystal (orresonator) connected between 32kin and 32kout with a 32.768khz operating frequency. this oscillator is used for the rtc, alarm, pwm, watchdog, charge pump, and fll. in any crystal-based oscillator circuit, the oscillator frequency is sensitive to the capacitive load (c l ). c l is the capacitance that the crystal needs from the oscillator circuit and not the capacitance of thecrystal. the input capacitance across 32kin and 32kout is 6pf. choose a crystal with a 32.768khz oscillation frequency and a 6pf capacitive load such as the c-002rx32-e from epson crystal. using a crys-tal with a c l that is larger than the load capacitance of the oscillator circuit causes the oscillator to run fasterthan the specified nominal frequency of the crystal or to not start up. see figures 9 and 10 for block diagrams of the crystal oscillator and the clk32k i/o. real-time clock (rtc) the integrated rtc provides the current time informationfrom a 32-bit counter and subsecond counts from an 8- bit ripple counter. an internally generated reference clock of 256hz (derived from the 32.768khz crystal) dri- ves the 8-bit subsecond counter. an overflow of the 8-bit subsecond counter inputs a 1hz clock to increment the 32-bit second counter. the rtc 32-bit second counter is translatable to calendar format with firmware. all 40 bits (32-bit second counter and 8-bit subsecond counter) must be clocked in or out for valid data. the rtc and the 32.768khz crystal oscillator consume less than 1a when the rest of the device is powered down. time-of-day alarm program the al_day register with a 20-bit value, whichcorresponds to a time 1s to 12 days later than the cur- rent time with a 1s resolution. the alarm status bit, ald, asserts when the 20 bits of the al_day register match- es the 20 lsbs of the 32-bit second counter. the ade bit automatically clears when the time-of-day alarm trips. the time-of-day alarm causes the device to exit sleep mode. cmp analog 2:1 mux control logic reset dvdd 1.25v 1.8vth 2.0vth ldvd lsde lsde hyse por rste dvdd (1.8v) voltage monitor wdto figure 7. dvdd voltage-supervisor block diagram cmp cpout 1.25v 2.7vth lcpd cpde cpde cpout (2.7v) voltage monitor figure 8. cpout voltage-supervisor block diagram downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 29 maxim integrated watchdog enable the watchdog timer by writing a 1 to the wdebit in the clk_ctrl register. after enabling the watch- dog timer, the device asserts reset for 250ms, if the watchdog address register is not written every 500ms.due to the asynchronous nature of the watchdog timer, the watchdog timeout period varies between 500ms and 750ms. write a 0 to the wde bit to disable the watchdog timer. see figure 11 for a block diagram of the watchdog timer. high-frequency clock an internal oscillator and a frequency-locked loop (fll)are used to generate a 4.9152mhz 1% high-frequen- cy clock. this clock and derivatives are used internally by the adc, analog switches, and pwm. this clock sig- nal outputs to clk. when the fll is enabled, the high- frequency clock is locked to the 32.768khz reference.if the fll is disabled, the high-frequency clock is free- running. at power-up, the clk pin defaults to a 2.4576mhz clock output, which is compatible with most cs. see figure 12 for a block diagram of the high-fre- quency clock. user-programmable i/os the MAX11359A provides four digital programmablei/os (upio1Cupio4). configure upios as logic inputs or outputs using the upio control register. configure the internal pullups using the upio setup register, if required. at power-up, the upios are internally pulled up to dvdd. upio_ outputs can be referenced to dvdd or cpout. see the upio__ctrl register and upio_spi register sections for more details on config- uring the upio_ pins. 32kin 32kout 32.768khz oscillator 32khz oscillator osce 32k figure 9. 32khz crystal-oscillator block diagram io32e clk32k ck32e osce clk32k i/o control 2:1 mux 1 0 io32e io32e 32k m32k figure 10. clk32k i/o block diagram d q q r ck d q q r ck divide- by-8192 32k wde por wdw watchdog timer por pulses high during power-up. wdw pulses high during watchdog register write. 4hz wdto figure 11. watchdog timer block diagram downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 30 maxim integrated program each upio1Cupio4 as one of the following: ? general-purpose input ? power-mode control ? analog switch (spst) and spdt control input ? adc data-ready output ? general-purpose output ? pwm output ? alarm output ? spi passthrough temperature sensors the internal temperature sensor measures die tempera-ture, and the external temperature sensor measures remote temperatures. use the internal temperature sen- sor or external temperature sensor (remote transistor/ diode) with the adc and internal current sources to measure the temperature. for either method, two to four currents are passed through a p-n junction and sense resistor, and its temperature is calculated by a c using the diode equation and the forward-biased junc- tion voltage drops measured by the adc. the tempera- ture offset between the internal p-n junction and ambient is negligible. for the four and eight measure- ment methods, the ratio of currents used in the diode calculations is precisely known since the adc mea- sures the resulting voltage across the same sense resistor. see figure 13 for a block diagram of the tem- perature sensor. m32k tune<8:0> hfce flle crdy hfclk 1, 2, 4, 8 divider 2:1 mux clk clke cksel<1:0> cksel2 1 0 4.9152mhz hf oscillator and fll 4.9152mhz 32.768khz frequency compare freq error digitally controlled oscillator frequency integrator figure 12. high-frequency clock and fll block diagram figure 13. temperature-sensor measurement block diagram current source 1:3 demux ival<1:0> imux<1:0> ain1ain2 ain1 ain2 temp+temp- programmable current source temp sensor downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 31 maxim integrated two-current method for the two-current method, currents i 1 and i 2 are passed through a p-n junction. this requires two v be measurements. temperature measurements can beperformed using i 1 and i 2 . where k is boltzmans constant and q is the absolutevalue of the charge on electron. a four-measurement procedure is adopted to improve accuracy by precisely measuring the ratio of i 1 and i 2 : 1) current i 1 is driven through the diode and the series resistor r, and the voltage across the diode is mea-sured as v be1 . 2) for the same current, the voltage across the diode and r is measured as v 1 . 3) repeat steps 1 and 2 with i 2 . i 1 is typically 4a and i 2 is typically 60a (see table 21). since only four integer numbers are accessible from theadc conversions at a certain voltage reference, the previ- ous equation can be represented in the following manner: where n v1 , n v2 , n vbe1 , and n vbe2 are the measure- ment results in integer format and v ref is the reference voltage used in the adc measurements. four-current method the four-current method is used to account for thediode series resistance and trace resistance. the four currents are defined as follows; i 1 , i 2 , m 1 i 1 , and m 2 i 2 . if the currents are selected so (m 1 - 1)i 1 = (m 2 - 1)i 2 , the effect of the series resistance is eliminated from thetemperature measurements. for the currents i 1 = 4a and i 2 = 60a, the factors are selected as m 1 = 16 and m 2 = 2. this results in the currents i 3 = m 1 i 1 = 64a and i 4 = m 2 i 2 = 120a (typ). as in the case of the two- current method, two measurements per current are used to improve accuracy by precisely measuring thevalues of the currents. 1) current i 1 is driven through the diode and the series resistor r, and the voltage is measured across thediode using the adc as nvbe1. 2) for the same current, the voltage across the diode and the series resistor is measured by the adc as nv1. 3) repeat steps 1 and 2 with i 2 , i 3 , and i 4 . the measured temperature is defined as follows:where v ref is the reference voltage used and: external temperature sensor for an external temperature sensor, either the two-cur-rent or four-current method can be used. connect an external diode (such as 2n3904 or 2n3906) between pins ain1 and agnd (or ain2 and agnd). connect a sense resistor r between ain1 and ain2. maximize r so the ir drop plus v be of the p-n junction [(r x i max )+v be ] is the smaller of the adc reference voltage or (avdd - 400mv). the same procedure as the inter-nal temperature sensor can be used for the external temperature sensor, by routing the currents to ain1 (or ain2) (see table 20). for the two-current method, if the external diodes series resistance (r s ) is known, then the temperature measurement can be corrected as shown below: temperature-sensor calibration to account for various error sources during the temper-ature measurement, the internal temperature sensor is calibrated at the factory. the calibrated temperature equation is: tt qn n qn n nkin nn nn vr r actual meas v vbe v vbe v vbe v vbe ref s = ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? () () 2211 22 11 16 2 m m nn nn nn nn v vbe v vbe v vbe v vbe 1 2 33 11 22 44 = ? ? ? ? ? ? ? ? ? ? ? ? t qn n qn n nkin m m v meas vbe vbe vbe vbe ref = () () ? ? ? ? ? ? 31 4 2 1 2 16 2 t qn n nk nn nn v meas vbe vbe v vbe v vbe ref () ln = ? ? ? ? ? ? 21 22 11 16 2 t qv v nk i i meas be be ln = () ? ? ? ? ? ? 21 2 1 downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 32 maxim integrated t a = g x t meas + b where g and b are the gain and offset calibration val-ues, respectively. these calibration values are avail- able for reading from the temp_cal register. voltage reference and buffer an internal 1.25v bandgap reference has a buffer with aselectable 1.0v/v, 1.638v/v, or 2.0v/v gain, resulting in nominally 1.25v, 2.048v, or 2.5v reference voltage at ref. the adc and dac use this reference voltage. the state of the internal voltage reference output buffer at por is disabled so it can be driven, at ref, with an external reference between agnd and avdd. the MAX11359A reference has an initial tolerance of 1%. program the reference buffer through the serial inter- face. bypass ref with a 4.7f capacitor to agnd. operational amplifiers (op amps) the MAX11359A includes two op amps. these op ampsfeature rail-to-rail outputs, near rail-to-rail inputs, and have an 80khz (1nf load) input bandwidth. the daca_op (dacb_op) register controls the power state of the op amps. when powered down, the outputs of the op amps are high impedance. single-pole/double-throw (spdt) switches the MAX11359A provides two uncommitted spdt switch-es. each switch has a typical on-resistance of 35 ? . control the switches through the sw_ctrl register, thepwm output, and/or a upio port configured to control the switches (upio1Cupio4_ctrl register). pulse-width modulator (pwm) a single 8-bit pwm is available for various system taskssuch as lcd bias control, sensor bias voltage trim, buzzer drive, and duty-cycled sleep-mode power-con- trol schemes. pwm input clock sources include the 4.9512mhz fll output, the 32khz clock, and frequen- cy-divided versions of each. although most cs have built-in pwm functions, the MAX11359A pwm is more flexible by allowing the upio outputs to be driven to dvdd or regulated cpout logic-high voltage levels. for duty-cycled power-control schemes, use the 32khz-derived input clock. the pwm output is avail- able independent of c power state. the fll is typical- ly disabled in sleep-override mode. serial interface the MAX11359A features a 4-wire serial interface consist-ing of a chip select ( cs ), serial clock (sclk), data in (din), and data out (dout). cs must be low to allow data to be clocked into or out of the device. dout is highimpedance while cs is high. the data is clocked in at din on the rising edge of sclk. data is clocked out atdout on the falling edge of sclk. the serial interface is compatible with spi modes cpol = 0, cpha = 0 and cpol = 1, cpha = 1. a write operation to the MAX11359A takes effect on the last rising edge of sclk. if cs goes high before the complete transfer, the write is ignored. every data transfer is initiated by the commandbyte. the command byte consists of a start bit (msb), r/ w bit, and 6 address bits. the start bit must be 1 to perform data transfers to the device. zeros clocked in areignored. for spi passthrough mode, see the upio_spi register section. an address byte identifies each register. table 4 shows the complete register address map for thisfamily of das. figures 14, 15, and 16 provide timing dia- grams for read and write commands. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 33 maxim integrated cs sclk din dout x = don? care. 1 0 a5 a4 a3 a2 a1 a0 d n d n -1 d n-2 d n-3 d 2 d 1 d 0 x x figure 14. serial-interface register write with 8-bit control word, followed by a variable length data write cs sclk din dout 1 1 a5 a4 a3 a2 a1 a0 x x x x x x x x x d n d n-1 d n-2 d n-3 d 2 d 1 d 0 x = don? care. figure 15. serial-interface register read with 8-bit control word followed by a variable length data read cs sclk din dout 1 0 a4 a3 a2 a1 drdy d0 a0 d7 d6 d5 d4 d3 d2 d1 x d0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 1 1 a4 a3 a2 a1 a0 x adcconv changes x = don? care. figure 16. performing an adc conversion ( drdy function can be accessed at upio pins) downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 34 maxim integrated register name start ctl (r/w) adr<5:0> (address) d<39:0>, d<23:0>, d<15:0> or d<7:0> (data) adce strt bip pol cont adcref gain<1:0> adc 1 r/w00000x rate<2:0> mode<2:0> x x mux 1 r/w00001s muxp<3:0> muxn<3:0> data 1 r 00010x adc<15:0> offset cal 1 r/w00011x offset<23:0> gain cal 1 r/w00100x gain<23:0> reserved 1 r/w00101x reserved. do not use. dae/ op3e dbe/ op2e op1e x x x daca<9:8> daca_op 1 r/w00110x daca<7:0> dae/ op3e dbe/ op2e op1e x x x dacb<9:8> dacb_op 1 r/w00111x dacb<7:0> ref_sdc 1 r/w01000x refv<1:0> aoff aon sdce tsel<2:0> asec<19:4> al_day 1 r/w01001x asec<3:0> x x x x al_sys 1 r/w01010x asub<7:0> awe ade ase rwe rtce osce flle hfce clk_ctrl 1 r/w01011x cksel<2:0> io32e ck32e clke intp wde sec<31:0> rtc 1 r/w01100x sub<7:0> pwme fsel<2:0> swah swal swbh swb l pwm_ctrl 1 r/w01101x spd1 spd2 x x x x x x pwmth<7:0> pwm_thtp 1 r/w01110x pwmtp<7:0> watchdog 1 w 01111x x x x x x x x x on mode 1 w 10000x x x x x x x x x sleep_ovrr 1 w 10001x x x x x x x x x sleep_cfg 1 r/w10010slp sosce s c k 32e s p w m e shdn x x x x upio4_ctrl 1 r/w10011x up4md<3:0> pup4 sv4 alh4 ll4 upio3_ctrl 1 r/w10100x up3md<3:0> pup3 sv3 alh3 ll3 upio2_ctrl 1 r/w10101x up2md<3:0> pup2 sv2 alh2 ll2 upio1_ctrl 1 r/w10110x up1md<3:0> pup1 sv1 alh1 ll1 upio_spi 1 r/w10111x up4s up3s up2s up1s x x x x sw_ctrl 1 r/w11000x swaswb spdt1<1:0> spdt2<1:0> x x temp_ctrl 1 r/w11001x imux<1:0> ival<1:0> x x x x temp_cal 1 r 11010x tgain<7:0> toffs<7:0> mldvd mlcp mado msdc mcrd madd mald mals imsk 1 r/w11011x mupr<4:1> mupf<4:1> reserved 1 r/w11100x reserved. do not use. ps_vmons 1 r/w11101x ldoe cpe lsde cpde hyse rste x x ldvd lcpd adou sdc crdy add ald als status 1 r 11111x upr<4:1> upf<4:1> register definitions table 4. register address map x = dont care. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 35 maxim integrated the adc register configures the adc and startsa conversion. adce: adc power-enable bit. adce = 1 powers up the adc, and adce = 0 powers down the adc.strt: adc start bit. strt = 1 resets the registers inside the adc filter and initiates a conversion or cali-bration. the conversion begins immediately after the 16th adc control bit is clocked by the rising edge of sclk. the initial conversion requires four conversion cycles for valid output data. if cont = 0 when strt is asserted, the adc stops after a single conversion and holds the result in the data register. if cont = 1 when strt is asserted, the adc performs continuous conver- sions at the rate specified by the rate<2:0> bits until cont is deasserted or adce is deasserted, powering down the adc. the strt bit is automatically deasserted after the initial conversion is complete (four conversion cycles; the adc status bit add in the status register asserts.) the current adc configurations are not affect- ed if the adc register is written with strt = 0. this allows the adc and mux configurations to be updated simultaneously with the s bit in the mux register. bip: unipolar/bipolar bit. set bip = 0 for unipolar mode and bip = 1 for bipolar mode. unipolar-mode data isunsigned binary format and bipolar is twos complement. see the adc transfer functions section for more details. pol: polarity flipper bit. pol = 1 flips the polarity of the differential signal to the adc and the input to the signal-detect comparator (sdc). pol = 0 sets the positive mux output to the positive adc and sdc inputs, and the neg- ative mux output to the negative adc and sdc inputs. pol = 1 sets the positive mux output to the negative adc and sdc inputs, and the negative mux output to the positive adc and sdc inputs. cont: continuous conversion bit. cont = 1 enables continuous conversions following completion of the firstconversion or calibration(s) initiated by the strt or s bit. set cont = 0 while asserting the strt bit, or prior to asserting the s bit to perform a single conversion or to prevent conversions following a calibration. set cont = 0 to abort continuous conversions already in progress. when the adc is stopped in this way, the last complete conversion result remains in the data register and the internal adc state information is lost. asserting the cont bit does not restart the adc, but results in contin- uous conversions once the adc is restarted with the strt or s bit. adcref: adc reference source bit. set adcref = 0 to select ref as the adc reference. set adcref = 1to select avdd as the adc reference. to measure the avdd voltage without having to attenuate the supply voltage, select ref and agnd as the differential inputs to the adc, with pol = 0 and while adcref = 1. gain<1:0>: adc gain-setting bits. these two bits select the gain of the adc as shown in table 5. msb lsb adce strt bip pol cont adcref gain<1:0> rate<2:0> mode<2:0> x x adc register (power-on state: 0000 0000 0000 00xx) register bit descriptions gain setting (v/v) gain1 gain0 100 201 410 811 table 5. setting the gain of the adc downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 36 maxim integrated rate<2:0>: adc conversion-rate-setting bits. these three bits set the conversion rate of the adc as shownin table 6. the initial conversion requires four conver- sion cycles for valid data, and subsequent conversions require only one cycle (if cont = 1). a full-scale input change can require up to five cycles for valid data if the digital filter is not reset with the strt or s bit. mode<2:0>: conversion-mode bits. these three bits determine the type of conversion for the adc as shownin table 7. when the adc finishes an offset calibration and/or gain calibration, the mode<2:0> bits clear to 0 hex, the add bit in the status register asserts, and an interrupt asserts on int (or upio_ if programmed as drdy) if madd is unmasked. perform a gain calibra- tion after achieving the desired offset (calibrated or not). if an offset and gain calibration are performed together (mode<2:0> = 7 hex), the offset calibration is performed first followed by the gain calibration, and the c is interrupted by int (or upio_ if programmed as drdy) if madd is unmasked only upon completion of both offset and gain calibration. after power-on or cali- bration, the adc does not begin conversions until initi- ated by the user (see the adce and strt bit descriptions in this section and see the s bit descrip- tions in the mux register section). see the gain cal register and offset cal register sections for details on system calibration. conversion mode mode2 mode1 mode0 normal 0 0 0 system offset calibration 0 0 1 system gain calibration 0 1 0 normal 0 1 1 normal 1 0 0 self offset calibration 1 0 1 self gain calibration 1 1 0 self offset and gaincalibration 111 table 7. setting the adc conversion mode nominal continuousconversion rate (sps) decimation ratio actual continuousconversion rate (sps) 10 1096 10.01042142 40 274 40.04168568 50 220 49.87009943 60 183 59.953125 200 55 199.4803977 240 46 238.5091712 400 27 406.3489583 512 23 477.0183424 continuousconversion rate (sps) single conversion rate (sps) rate2 rate1 rate0 10 2.5 0 0 0 40 10 0 0 1 50 12.5 0 1 0 60 15 0 1 1 200 50 1 0 0 240 60 1 0 1 400 100 1 1 0 512 128 1 1 1 table 6a. setting the adc conversion rate* *calculate the adc sampling rate using the followingequation: where f hfclk = 4.9152mhz nominally. f f decimation ratio s hfclk = 448 table 6b. actual adc conversion rates downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 37 maxim integrated the mux register configures the positive and negativemux inputs and can start an adc conversion. s (adr0): conversion start bit. the s bit is the lsb of the mux register address byte. s = 1 resets the regis- ters inside the adc filter and initiates a conversion or calibration. the conversion begins immediately after the eighth mux register data bit, when s = 1 and when writing to the mux register. this allows the new mux and adc register settings to take effect simultaneously for a new conversion, if strt = 0 during the last write to the adc register. if the s bit is asserted and the command is a read from the mux register, the conver- sion starts immediately after the s bit (adr0) is clocked in by the rising edge of sclk. read the mux register with s = 1 for the fastest method of initiating a conversion because only 8 bits arerequired. the subsequent mux register read is valid, but can be aborted by raising cs with no harmful side effects. the initial conversion requires four conversioncycles for valid output data. if cont = 0 and s = 1, the adc stops after a single conversion and holds the result in the data register. if cont = 1 and s = 1, the adc performs continuous conversions at the rate specified by the rate<2:0> bits until cont deassertsor adce deasserts, powering down the adc. when a conversion initiates using the s bit, the strt bit asserts and deasserts automatically after the initial conversion completes. writing to the mux register with s = 0 caus- es the mux settings to change immediately and the adc continues in its prior state with its settings unaf- fected. when the adc is powered down, mux inputs are open. muxp<3:0>: mux positive input bits. these four bits select one of ten inputs from the positive mux to go to the positive output of the mux as shown in table 8. any writes to the mux register take effect immediately once the lsb (muxn0) is clocked by the rising edge of sclk. muxn<3:0> mux negative input bits. these four bits select one of ten inputs from the negative mux to go to the negative output of the mux as shown in table 9. any writes to the mux register take effect immediately once the lsb (muxn0) is clocked by the rising edge of sclk. the data register contains the data from the most recently completed conversion. the offset cal register contains the 24-bit data of the most recently completed offset calibration. msb lsb s (adr0) muxp3 muxp2 muxp1 muxp0 muxn3 muxn2 muxn1 muxn0 mux register (power-on state: 0000 0000) positive mux input muxp3 muxp2 muxp1 muxp0 ain1 0 0 0 0 sno1 0 0 0 1 fba 0 0 1 0 scm1 0 0 1 1 in2- 0 1 0 0 snc1 0 1 0 1 in1- 0 1 1 0 temp+ 0 1 1 1 ref 1 0 0 0 agnd 1 0 0 1 101x open 11xx table 8. selecting the positive mux inputs x = dont care. negative mux input muxn3 muxn2 muxn1 muxn0 temp- 0 0 0 0 sno2 0 0 0 1 o u t a 0010 scm2 0 0 1 1 out2 0 1 0 0 snc2 0 1 0 1 out1 0 1 1 0 ain2 0 1 1 1 r e f 1000 agnd 1 0 0 1 101x open 11xx table 9. selecting the negative mux inputs x = dont care. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 38 maxim integrated offset<23:0>: offset-calibration bits. the data format is twos complement and is subtracted from the adcoutput before being written to the data register. the offset calibration allows input offset errors between v ref 50% to be corrected in unipolar or bipolar mode. the MAX11359A can perform system offset calibrationor self offset calibration. self-calibration performs a cali- bration for the entire signal path. see the adc calibration section for more details. the adc input voltage range specifications must always be obeyed, and the offset cal register effec-tively offsets the adc digital scale to a zero value determined by the calibration. msb adc15 adc14 adc13 adc12 adc11 adc10 adc9 adc8 lsb adc7 adc6 adc5 adc4 adc3 adc2 adc1 adc0 data register (power-on state: 0000 0000 0000 0000) adc<15:0> analog-to-digital conversion data bits. these 16 bits are the results from the most recentlycompleted conversion. the data format is unsigned; binary for unipolar mode, and twos complement forbipolar mode. msb offset23 offset22 offset21 offset20 offset19 offset18 offset17 offset16 offset15 offset14 offset13 offset12 offset11 offset10 offset9 offset8 lsb offset7 offset6 offset5 offset4 offset3 offset2 offset1 offset0 offset cal register (power-on state: 0000 0000 0000 0000 0000 0000) msb gain23 gain22 gain21 gain20 gain19 gain18 gain17 gain16 gain15 gain14 gain13 gain12 gain11 gain10 gain9 gain8 lsb gain7 gain6 gain5 gain4 gain3 gain2 gain1 gain0 gain cal register (power-on state: 1000 0000 0000 0000 0000 0000) gain<23:0>: gain-calibration bits. the data format is unsigned binary with 23 bits to the right of the decimalpoint and scales the adc output before being written to the data register. the gain calibration allows full-scale errors between -v ref /2 and +v ref /2 to be corrected in unipolar mode, and full-scale errors between (+50% xv ref ) and (+200% x v ref ) in unipolar or bipolar mode. the MAX11359A can perform system gain calibrationor self gain calibration. self-calibration performs a cali- bration for offsets in the adc, and system calibrationperforms a calibration for the entire signal path. see the adc calibration section for more details. the adc input voltage range specifications must always be obeyed, and the gain cal register effectively scalesthe adc digital output to a full-scale value determined by the calibration. the usable gain-calibration range is limited to less than the full gain cal register digital- scaling range by the internal noise of the adc. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 39 maxim integrated daca_op register writing to the daca_op output register updates daca on the rising sclk edge of the lsb data bit. the output voltage can be calculated as follows: v outa = v ref x n/2 10 where:v ref is the reference voltage for the dac. n is the integer value of the daca<9:0> output regis-ter. the output buffer is in unity gain. the daca data is 10 bits long and right justified. dae: daca enable bit. set dae = 1 to power up the daca and the daca output buffer in the MAX11359A.op2e: op2 power-enable bit. set op2e = 1 to power up op2 in the MAX11359A.op1e: op1 power-enable bit. set op1e = 1 to power up op1 in the MAX11359A. this bit is mirrored in the dacb_op register.daca<9:0>: daca data bits. daca_op register (power-on state: 000x xx00 0000 0000) the ref_sdc register contains bits to control the refer-ence voltage and signal-detect comparator. refv<1:0>: reference buffer voltage gain and enable bits. enables the output buffer, sets the gain and thevoltage at the ref pin as shown in table 10. power-on state is off to enable an external reference to drive the ref pin without contention. aoff: adc and dac/op-amp power-off bit. this bit pro- vides a method for turning off several analog functionswith a single write. setting aoff = 1 deasserts the adce in the adc register and dae/op3e, op2e, and op1e bits in the daca_op registers, powering down these analog blocks. setting aoff = 0 has no effect. the aon bit has priority when both aon and aoff bits are asserted. most of the analog functions can be disabled with asingle write to the ref_sdc register by using aoff, refv<1:0>, and sdce. msb dae dbe op1e x x x daca9 daca8 lsb daca7 daca6 daca5 daca4 daca3 daca2 daca1 daca0 msb lsb refv1 refv0 aoff aon sdce tsel2 tsel1 tsel0 ref_sdc register (power-on state: 0000 0000) reference buffer gain (v/v) ref output voltage (v) refv1 refv0 disabled off (high impedance at ref) 00 1.0 1.251 0 1 1.638 1.996 1 0 2.0 2.422 1 1 table 10. setting the reference outputvoltage downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 40 maxim integrated aon: adc and dac/op-amp power-on bit. this bit pro- vides a method of turning on several analog functionswith a single write. setting aon = 1 asserts the adce bit in the adc register and dae/op3e, op2e, and op1e bits in the daca_op register, powering up these blocks. setting aon = 0 has no effect. the aon bit has priority when both aon and aoff bits are asserted. most of the analog functions can be enabled with a sin- gle write to the ref_sdc register using aon, refv<1:0>, and sdce. sdce: signal-detect comparator power-enable bit. set sdce = 1 to power up the signal-detect comparator,and set sdce = 0 to power down the signal-detect comparator. the adce bit in the adc register must be set to 1 to use the signal-detect comparator. tsel<2:0>: threshold-select bits. these bits select the threshold for the signal-detect comparator as shown intable 11. msb asec19 asec18 asec17 asec16 asec15 asec14 asec13 asec12 asec11 asec10 asec9 asec8 asec7 asec6 asec5 asec4 lsb asec3 asec2 asec1 asec0 x x x x al_day register (power-on state: 0000 0000 0000 0000 0000 xxxx) nominal threshold (mv) tsel2 tsel1 tsel0 00xx 5 0 100 100 1 0 1 150 1 1 0 200 1 1 1 table 11. setting the signal-detectcomparator threshold x = dont care. the al_day register stores the second information ofthe time-of-day alarm. asec<19:0>: alarm-second bits. these 20 bits store the time-of-day alarm, which corresponds to the lower20 bits of the rtc second counter or sec<19:0>. program the time-of-day alarm trigger between 1s to just over 12 days beyond the current rtc second counter value in increments of 1s. assert the awe bit in the clk_ctrl register (see the clk_ctrl register section) to enable writing to the al_day register. enabling the time-of-day alarm requirestwo writes to the clk_ctrl register. write the 20 alarm- second bits in 3 bytes, msb first. if cs is raised before the lsb is written, the alarm write is aborted, and theexisting value remains. when the lower 20 bits in the rtc second counter match the contents of this register, thealarm triggers and asserts ald in the status register. it also asserts an interrupt on the int pin unless masked by the mald bit in the imsk register. the part enters normal mode if an alarm triggers while in sleep mode. the time- of-day alarm is intended to trigger single events. therefore, once it triggers, in the clk_ctrl register, the ade bit is automatically cleared, disabling the time-of- day alarm. implement a recurring alarm with repeated software writes over the serial interface each time the time-of-day alarm triggers. the time-of-day alarm can also be programmed to output at the upio pins. when configured this way the mald bit does not mask the upio alarm output. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 41 maxim integrated the clk_ctr register contains the control bits for thertc alarms and clocks. awe: alarm write-enable bit. set awe = 1 to write data to the al_day register as well as the ade bit in thisregister. when awe = 0, all writes are prevented to the al_day register and the ade bit in this register. a sec- ond write to this register is required to change the value of the ade bit. the power-on default state is 0. ade: alarm (time-of-day) enable bit. set ade = 1 to enable the time-of-day alarm, and set ade = 0 to dis-able the time-of-day alarm. when enabled, the ald bit in the status register asserts when the rtc second counter time matches al_day register. the device wakes up from sleep to normal mode if not already awake. the ade bit can only be written if the awe = 1 from a previous write. the power-on default state is 0. rwe: rtc write-enable bit. set rwe = 1 prior to writing to the rtc register and the rtce bit in this register. ifrwe = 0, all writes are prevented to the rtc register as well as the rtce bit in this register. the rwe signal takes effect after the rising edge of the 16th clock; therefore, a second write to this register is required tochange the value of the rtce bit. the power-on default state is 0. rtce: real-time-clock enable bit. set rtce = 1 to enable the rtc, and set rtce = 0 to disable the rtc.the rtc has a 32-bit second and an 8-bit subsecond counter. the power-on default state is 1. osce: 32khz crystal-oscillator enable bit. set osce = 1 to power up the 32khz oscillator, and set osce = 0to power down the oscillator. the power-on default state is 1. flle: frequency-locked-loop enable bit. set flle = 1 to enable the fll, and set flle = 0 to disable the fll.if hfce = 1 and flle = 0, the internal high-frequency oscillator is enabled, but it is not frequency-locked to the 32khz clock. when flle is asserted, it typically takes 3.5ms for the high-frequency clock to settle to within 1% of the 32khz reference clock frequency. switching the fll on or off with this bit does not cause high-frequency clock glitching. the power-on default state is 1. msb awe ade x rwe rtce osce flle hfce lsb cksel2 cksel1 cksel0 io32e ck32e clke intp wde clk_ctrl register (power-on state: 00x0 1111 0010 1110) downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 42 maxim integrated hfce: high-frequency-clock enable bit. set hfce = 1 to enable the internal high-frequency clock source, andset hfce = 0 to disable the high-frequency clock source. if hfce = 1 and clke = 1, the internal high-frequency oscillator is enabled and is present at clk. the power- on default state is 1. cksel<2:0>: clock selection bits. these bits select the fll-based output clock frequency at the high-fre-quency clk pin as shown in table 12. the power-on default state is 001. io32e: input/output 32khz clock select bit. set io32e = 0 to configure the clk32k pin as an output, and setio32e = 1 to configure the clk32k pin as an input, regardless of the signal on the 32kin pin as shown in table 13. external clock frequencies applied to clk32k are clock sources to the fll, charge pump, and the signal- detect comparator. the default power-on state is 0. ck32e: clk32k output-buffer enable bit. set ck32e = 1 to enable the clk32k output buffer as long as osce= 1 and io32e = 0; otherwise the ck32e bit will not be asserted. set ck32e = 0 to disable the clk32k output buffer. the power-on default state is 1. clke: clk output-buffer enable bit. set clke = 1 to enable the clk output buffer. set clke = 0 to disablethe buffer. disabling the buffer is useful for saving power in cases where the high-frequency clock is usedinternally but is not needed externally. if hfce = 0, or if clke = 0, clk remains low. the power-on default state is 1. intp: interrupt pin polarity bit. set intp = 1 to make int an active-high output when asserted, and set intp= 0 to make int an active-low output when asserted. the power-on default state is 1. wde: watchdog-enable bit. set wde = 1 to enable the watchdog timer, which asserts reset low within 500ms if the watchdog register is not written. set wde = 0to disable the watchdog timer. the power-on default state is 0. clk32k clk32k io32e 32kin, 32kout rtc, pwm, wdt clock source fll, c/p, sdc input source adc clock source output 1 0 xtal attached xtal xtal fll/hfclk input 0 1 xtal attached xtal clk32k fll/hfclk table 13. configuring the clk32k as an input or output clock frequency (khz) cksel2 cksel1 cksel0 4915.2 0 0 0 2457.6 0 0 1 1228.8 0 1 0 614.4 0 1 1 32.768 1 0 0 16.384 1 0 1 8.192 1 1 0 4.096 1 1 1 table 12. setting the clk frequency downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 43 maxim integrated the rtc register stores the 40-bit second and subsec-ond count of the respective time-of-day and system clocks. sec<31:0>: the second bits store the time-of-day clock settings. it is a 32-bit binary counter with 1s reso-lution that can keep time for a span of over 136 years. firmware in the c can translate this time count to units that are meaningful to the system (i.e., translate to cal- endar time or as an elapsed time from some predefined time = 0, such as january 1, 2000). the rtc runs con- tinuously as long as rtce = 1 (see the clk_cntl register section) and does not stop for reads or writes. the counter increments when the subsecond counteroverflows. set rwe = 1 to enable writing to the rtc register. after writing to rwe, perform another write and set rtce = 1 to enable the rtc. a 40-bit burst write operation, starting with sec31 and finishing with sub0 is required to set the rtc second and subsec- ond bits. if cs is brought high before the 40th rising sclk edge, the write is aborted and the rtc contentsare unchanged. the rtc register is loaded on the ris- ing sclk edge of the 40th bit (sub0). a 40-bit burst read operation, starting with sec31 and finishing with sub0, is required to retrieve the current rtc second and subsecond counts. the read command can be aborted prior to receiving the 40th bit (sub0) by raising cs and any rtc data read to that point is valid. when the read command is received, a snapshot of a validrtc second count is latched to avoid reading an erro- neous, transitioning rtc value. due to the asynchro- nous nature of rtc reads, it is possible to have a maximum 1s error between the actual and reported times from the time-of-day clock. to prevent the data from changing during a read operation, complete reads of the rtc register in less than 1ms. the power-ondefault state is 0000 0000 hex. sub<7:0>: the subsecond bits store the system clock. this 8-bit binary counter has 3.9ms resolution (1/256hz)and a span of 1s. the subsecond counter increments in single counts from 00 hex to ff hex before rolling over again to 00 hex, at which time the rtc second counter (sec<31:0>) increments. the rtc runs continuously (as long as rtce = 1) and does not stop for reads or writes. a 256hz clock, derived from the 32khz crystal, increments this counter. set the rwe = 1 bit to enable writing to the rtc register. after writing to rwe, perform another write, setting rtce = 1, to enable the rtc. a 40-bit burst write operation, starting with sec31 and fin- ishing with sub0, is required to set the rtc second and subsecond bits. if cs is brought high before the 40th rising sclk edge, the write is aborted and the rtc con-tents are unchanged. the rtc register is loaded on the rising sclk edge of the 40th bit (sub0). a 40-bit burst read operation, starting with sec31 and finishing with sub0, is required to retrieve the current rtc second and subsecond counts. the read command can be aborted prior to receiving the 40th bit (sub0) by raising cs, and any rtc data read to that point is valid. when the read command is received, a snapshot of a validrtc second count is latched to avoid reading an erro- neous, transitioning rtc value. due to the asynchro- nous nature of rtc reads, it is possible to have a maximum 1s error between the actual and reported times from the time-of-day clock. to prevent the data from changing during a read operation, complete reads of the rtc registers occur in less than 1ms. the power- on default state is 00 hex. msb sec31 sec30 sec29 sec28 sec27 sec26 sec25 sec24 sec23 sec22 sec21 sec20 sec19 sec18 sec17 sec16 sec15 sec14 sec13 sec12 sec11 sec10 sec9 sec8 sec7 sec6 sec5 sec4 sec3 sec2 sec1 sec0 lsb sub7 sub6 sub5 sub4 sub3 sub2 sub1 sub0 rtc register (power-on state: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000) downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 44 maxim integrated the pwm_ctrl register contains control bits for the 8-bit pwm. pwme: pwm-enable bit. set pwme = 1 to enable the internal pwm, and set pwme = 0 to disable the internalpwm. enable the high-frequency clock before enabling the pwm when using input clock frequencies above 32.768khz. the power-on default state is 0. fsel<2:0>: frequency selection bits. selects the pwm input clock frequency as shown in table 14. thepower-on default is 000. swah: swa-switch pwm-high control bit. set swah = 1 to enable the pwm output to directly control the swaswitch. when swah = swal, the pwm output is dis- abled from controlling the swa switch. when swah = 1, a pwm high output closes the swa switch and a pwm low output opens the swa switch. the pwm high output refers to the beginning of the period when the output is logic-high. see table 17 for more details. the power-on default is 0. swal: swa-switch pwm-low control bit. set swal = 1 to enable the inverted pwm output to directly control the swa switch. when swah = swal , the pwm output is disabled from controlling the swa switch. whenswal = 1, a pwm low output closes the swa switch and a pwm high output opens the swa switch. the pwm low output refers to the end of the period when the output is logic-low. see table 17 for more details. the power-on default is 0. spd1: spdt1-switch pwm drive control bit. set spd1 = 1 to enable the pwm output to directly control thespdt1 switch, and set spd1 = 0 to disable the pwm output controlling the spdt1 switch. the spdt1<1:0> bits, the upio pins (if programmed), and the pwm out- put (if enabled), determine the spdt1-switch state. see table 18 for more details. the power-on default is 0. spd2: spdt2-switch pwm drive control bit. set spd2 = 1 to enable the pwm output to directly control thespdt2 switch, and set spd2 = 0 to disable the pwm output controlling the spdt2 switch. the spdt2<1:0> bits, the upio pins (if programmed), and the pwm out- put (if enabled), determine the spdt2-switch state. see table 19 for more details. the power-on default is 0. msb pwme fsel2 fsel1 fsel0 swah swal x x lsb spd1 spd2 x x x x x x pwm_ctrl register (power-on state: 0000 0000 00xx xxxx) pwm input frequency* (khz) fsel2 fsel1 fsel0 4915.2** 0 0 0 2457.6** 0 0 1 1228.8** 0 1 0 32.768 0 1 1 8.192 1 0 0 1.024 1 0 1 0.256 1 1 0 0.032 1 1 1 table 14. setting the pwm frequency* the lower pwm frequencies are useful for power-supply duty cycling to conserve battery life and enable a single-battery cell- powered system. the higher frequencies allow reasonably small, external components for rc filtering when used as a dac for bias adjustments. ** when the part is in sleep mode, the hfck is shut down. in this case, pwm frequencies above 32khz are not available (see spwme in the sleep_cfg register section). downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 45 maxim integrated the pwm_thtp register contains the bits that set thepwm on-time and period. pwmth<7:0>: pwm time high bits. these bits define the pwm on (or high) time and when combined with thepwmtp<7:0> bits, they determine the duty cycle and period. the on-time duty cycle is defined as: (pwmth<7:0> + 1)/(pwmtp<7:0> + 1) to get 50% duty cycle, set pwmth<7:0> to 127 deci-mal and pwmtp<7:0> to 255 decimal. a 100% duty cycle (i.e., always on) is possible with a value of pwmth<7:0> pwmtp<7:0> > 0. a 0% duty cycle is possible by setting pwmth<7:0> = 0 or pwme = 0 inthe pwm_ctrl register. if the pwm is selected to drive the upio_ pin(s), the alh_ bit(s) (upio_ctrl register) determine the on-time polarity at the beginning of the pwm cycle. if alh_ = 1, the on-time at the start of the pwm period causes a logic-high level (dvdd or cpout) at the upio_ pin. when alh_ = 0, it causes a logic-low level (dgnd) during the on-time. when the pwm output drives the swa/b switches, the swa(b)h or swa(b)l bits in the pwm_ctrl register determine which pwm phase closes these switches. the spdt1 and spdt2 switches do not have pwm polarity inver- sion bits (see the spdt1<1:0> and spdt2<1:0> bit descriptions in the sw_ctrl register section), but their effective polarity is set by how the switches areconnected externally. the power-on default is 00 hex. pwmtp<7:0>: pwm time period bits. these bits con- trol the pwm output period defined. the pwm outputperiod is defined as: (pwmtp<7:0> + 1)/(pwm input frequency) set the pwm input frequency by selecting thefsel<2:0> bits as described in table 14. the power- on default is 00 hex. watchdog register (power-on state: n/a) writing to the watchdog register address sets thewatchdog timer to 0ms. if the watchdog is enabled (wde = 1) and the watchdog register is not written to before the 750ms expiration, reset asserts low for 250ms and the watchdog timer restarts at 0ms whenthe watchdog timer is enabled. there are no data bits for this register, and the watchdog timer is reset on the rising edge of sclk during the adr0 bit in the watchdog register address control byte. figure 17 shows an example of watchdog timing. norm_md register (power-on state: n/a) exit sleep mode and enter normal mode by writing tothe norm_md register. the specific normal-mode state of all circuit blocks is set by the user, who must configure the individual power-enable bits before enter- ing sleep mode (table 15). there are no data bits for this register, and normal mode begins on the rising edge of sclk during the adr0 bit in the norm_md register address control byte. sleep register (power-on state: n/a) enter sleep mode by writing to the sleep register. thislow-power state overrides most of the normal power- control bits. table 15 shows which functions are off, which functions are unaffected (ade, rtce, lsde, and hyse), and which functions are controlled by special sleep-mode bits (sosce, sck32e, and spwme) while in sleep mode. there are no data bits for this register, and sleep mode begins on the rising edge of sclk during the adr0 bit in the sleep register address con- trol byte. msb pwmth7 pwmth6 pwmth5 pwmth4 pwmth3 pwmth2 pwmth1 pwmth0 lsb pwmtp7 pwmtp6 pwmtp5 pwmtp4 pwmtp3 pwmtp2 pwmtp1 pwmtp0 pwm_thtp register (power-on state: 0000 0000 0000 0000) downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 46 maxim integrated register name circuit block description por default normal mode sleep adc adc adce = 0 adce off daca/op3 dae/op3e = 0 dae/op3e off daca_op op1 op1e = 0 op1e off reference buffer gain and enable refv<1:0> = 00 refv<1:0> off ref_sdc signal-detect comparator sdce = 0 sdce off time-of-day alarm enable ade = 0 ade ade rtc rtce = 1 rtce rtce ck32 xtal oscillator osce = 1 osce sosce ck32 output buffer ck32e = 1 ck32e sck32e high-frequency clock hfce = 1 hfce off high-frequency clock output buffer clke = 1 clke off fll enable flle = 1 flle off clk_ctrl watchdog timer wde = 0 wde off pwm_ctrl pwm pwme = 0 pwme spwme linear regulator ldoe = 0 ldoe off charge-pump doubler cpe = 0 cpe off cpout voltage monitor cpde = 0 cpde off 1.8v dvdd monitor lsde = 1 lsde lsde ps_vmons 1.8v monitor hysteresis hyse = 0 hyse hyse temp_ctrl temperature sense source imux<1:0> = 00 imux<1:0> off upio_ function up_md<3:0> = 0 hex up_md<3:0> up_md<3:0> upio_ pullup pup_ = 1 pup_ pup_ upio_ supply voltage sv_ = 0 sv_ sv_ upio_ctrl upio_ assertion level alh_ = 0 alh_ alh_ table 15. normal-mode and sleep-register summary downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 47 maxim integrated the sleep_cfg register allows users to program spe-cific behavior for the 32khz oscillator, buffer, and pwm in sleep mode. it also contains a sleep-control bit (slp) to enable sleep mode. slp (adr0): sleep bit. the slp bit is the lsb in the sleep_cfg address control byte. set slp = 1 toassert the shdn bit and enter sleep mode. writing the register with slp = 0 or reading with slp = 0 or slp = 1 has no effect on the shdn bit. sosce: sleep-mode 32khz crystal oscillator enable bit. sosce = 1 enables the 32khz oscillator in sleepmode, and sosce = 0 disables it in sleep mode, regardless of the state of the osce bit. the power-on default is 1. sck32e: sleep-mode ck32k-pin output-buffer enable bit. sck32e = 1 enables the 32khz output buffer insleep mode, and sck32e = 0 disables it in sleep mode, regardless of the state of the ck32e bit. the power-on default is 1. spwme: sleep-mode pwm enable bit. spwme = 1 enables the internal pwm in sleep mode, and spwme = 0 disables it in sleep mode, regardless of the state of the pwme bit. input frequencies are limited to 32.768khz or lower since the high-frequency clock is disabled in sleep mode. sosce must be asserted to have 32khz avail- able as an input to the pwm. the power-on default is 0. shdn: shutdown bit. this bit is read only. shdn is asserted by writing to the sleep register address or bywriting to the sleep_cfg register with slp = 1. when shdn is asserted, the device is in sleep mode even if the sleep or sleep function on the upio is deassert- ed. the shdn bit is deasserted by writing to thenorm_md register or by other defined events. events that cause shdn to be deasserted are a day alarm or an edge on the upio wake-up pin causing wake-up to be asserted. the power-on default is 0. msb lsb slp (adr0) sosce sck32e spwme shdn x x x x sleep_cfg register (power-on state: 1100 xxxx) 4hz clock 2-bit counter x wde = 1 012 3 reset watchdog address 01 2 watchdog address watchdog address 01 0120 750ms 250ms spi writes d q q r ck dq q r ck divide- by-8192 32k wde por wdw watchdog timer 4hz reset figure 17. watchdog timer architecture downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 48 maxim integrated msb lsb up4md3 up4md2 up4md1 up4md0 pup4 sv4 alh4 ll4 upio4_ctrl register (power-on state: 0000 1000) msb lsb up3md3 up3md2 up3md1 up3md0 pup3 sv3 alh3 ll3 upio3_ctrl register (power-on state: 0000 1000) upio3_ctrl register. this register configures theupio3 pin functionality. up3md<3:0>: upio3-mode selection bits. these bits configure the mode for the upio3 pin. see table 16 fora detailed description. the power-on default is 0 hex. pup3: pullup upio3 control bit. set pup3 = 1 to enable a weak pullup resistor on the upio3 pin, and set pup3= 0 to disable it. the pullup resistor is connected to either dvdd or cpout as programmed by the sv3 bit. the pullup is enabled only when upio3 is configured as an input. open-drain behavior can be simulated at upio3 by setting the mode to gpo with ll3 = 0 and by changing the mode to gpi with pup3 = 0, allowing external high pullup. the power-on default is 1. sv3: supply-voltage upio3 selection bit. set sv3 = 0 to select dv dd as the supply voltage for the upio3 pin, and set sv3 = 1 to select cpout as the supply volt-age. the selected supply voltage applies to all modes for the upio3 pin. the power-on default is 0. alh3: active logic-level assertion high upio3 bit. set alh3 = 0 to define the input or output assertion levelfor upio3 as low except when in gpi and gpo modes. set alh3 = 1 to define the input or output assertion level as high. for example, asserting alh3 defines the upio3 output signal as alarm, while deasserting alh3 defines it as alarm . similarly, asserting alh3 defines the upio3 input signal as wu, while deassert-ing alh3 defines it as wu . the power-on default is 0. ll3: logic-level upio3 bit. when upio3 is configured as gpo, ll3 = 0 sets the output to a logic-low and ll3= 1 sets the output to a logic-high. a read of ll3 returns the voltage level at the upio3 pin at the time of the read, regardless of how it is programmed. the power-on default is 0. upio4_ctrl register. this register configures theupio4 pin functionality. up4md<3:0>: upio4-mode selection bits. these bits configure the mode for the upio4 pin. see table 16 fora detailed description. the power-on default is 0 hex. pup4: pullup upio4 control bit. set pup4 = 1 to enable a weak pullup resistor on the upio4 pin, and set pup4= 0 to disable it. the pullup resistor is connected to either dvdd or cpout as programmed by the sv4 bit. the pullup is enabled only when upio4 is configured as an input. open-drain behavior can be simulated at upio4 by setting the mode to gpo with ll4 = 0 and by changing the mode to gpi with pup4 = 0, allowing external high pullup. the power-on default is 1. sv4: supply-voltage upio4 selection bit. set sv4 = 0 to select dvdd as the supply voltage for the upio4pin, and set sv4 = 1 to select cpout as the supply voltage. the selected supply voltage applies to all modes for the upio4 pin. the power-on default is 0. alh4: active logic-level assertion high upio4 bit. set alh4 = 0 to define the input or output assertion levelfor upio4 as low except when in gpi and gpo modes. set alh4 = 1 to define the input or output assertion level as high. for example, asserting alh4 defines the upio4 output signal as alarm, while deasserting alh4 defines it as alarm . similarly, asserting alh4 defines the upio4 input signal as wu, while deassert-ing alh4 defines it as wu . the power-on default is 0. ll4: logic-level upio4 bit. when upio4 is configured as gpo, ll4 = 0 sets the output to a logic-low and ll4= 1 sets the output to a logic-high. a read of ll4 returns the voltage level at the upio4 pin at the time of the read, regardless of how it is programmed. the power-on default is 0. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 49 maxim integrated upio2_ctrl register. this register configures theupio2 pin functionality. up2md<3:0>: upio2-mode selection bits. these bits configure the mode for the upio2 pin. see table 16 fora detailed description. the power-on default is 0 hex. pup2: pullup upio2 control bit. set pup2 = 1 to enable a weak pullup resistor on the upio2 pin, and set pup2= 0 to disable it. the pullup resistor is connected to either dvdd or cpout as programmed by the sv2 bit. the pullup is enabled only when upio2 is configured as an input. open-drain behavior can be simulated at upio2 by setting the mode to gpo with ll2 = 0 and by changing the mode to gpi with pup2 = 0, allowing external high pullup. the power-on default is 1. sv2: supply-voltage upio2 selection bit. set sv2 = 0 to select dvdd as the supply voltage for the upio2pin, and set sv2 = 1 to select cpout as the supply voltage. the selected supply voltage applies to all modes for the upio2 pin. the power-on default is 0. alh2: active logic-level assertion high upio2 bit. set alh2 = 0 to define the input or output assertion levelfor upio2 as low except when in gpi and gpo modes. set alh2 = 1 to define the input or output assertion level as high. for example, asserting alh2 defines the upio2 output signal as alarm, while deasserting alh2 defines it as alarm . similarly, asserting alh2 defines the upio2 input signal as wu, while deassert-ing alh2 defines it as wu . the power-on default is 0. ll2: logic-level upio2 bit. when upio2 is configured as gpo, ll2 = 0 sets the output to a logic-low and ll2= 1 sets the output to a logic-high. a read of ll2 returns the voltage level at the upio2 pin at the time of the read, regardless of how it is programmed. the power-on default is 0. upio1_ctrl register. this register configures theupio1 pin functionality. up1md<3:0>: upio1-mode selection bits. these bits configure the mode for the upio1 pin. see table 16 fora detailed description. the power-on default is 0 hex. pup1: pullup upio1 control bit. set pup1 = 1 to enable a weak pullup resistor on the upio1 pin, and set pup1= 0 to disable it. the pullup resistor is connected to either dvdd or cpout as programmed by the sv1 bit. the pullup is enabled only when upio1 is configured as an input. open-drain behavior can be simulated at upio1 by setting the mode to gpo with ll1 = 0 and by changing the mode to gpi with pup1 = 0, allowing external high pullup. the power-on default is 1. sv1: supply-voltage upio1 selection bit. set sv1 = 0 to select dvdd as the supply voltage for the upio1pin, and set sv1 = 1 to select cpout as the supply voltage. the selected supply voltage applies to all modes for the upio1 pin. the power-on default is 0. alh1: active logic-level assertion high upio1 bit. set alh1 = 0 to define the input or output assertion levelfor upio1 as low except when in gpi and gpo modes. set alh1 = 1 to define the input or output assertion level as high. for example, asserting alh1 defines the upio1 output signal as alarm, while deasserting alh1 defines it as alarm . similarly, asserting alh1 defines the upio1 input signal as wu, while deassert-ing alh1 defines it as wu . the power-on default is 0. ll1: logic-level upio1 bit. when upio1 is configured as gpo, ll1 = 0 sets the output to a logic-low and ll1= 1 sets the output to a logic-high. a read of ll1 returns the voltage level at the upio1 pin at the time of the read, regardless of how it is programmed. the power-on default is 0. msb lsb up2md3 up2md2 up2md1 up2md0 pup2 sv2 alh2 ll2 upio2_ctrl register (power-on state: 0000 1000) msb lsb up1md3 up1md2 up1md1 up1md0 pup1 sv1 alh1 ll1 upio1_ctrl register (power-on state: 0000 1000) downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 50 maxim integrated mode up4md<3:0>, up3md<3:0>, up2md<3:0>, up1md<3:0> MAX11359A description 0000 g p i general-purpose digital input. active edges detected by upr_ or upf_ statusregister bits. alh_ has no effect with this setting. 0001 g p o general-purpose digital output. logic level set by ll_ bit. alh_ has no effect withthis setting. 0010 swa or swa digital input. dac a buffer switch control. see the swa bit description in the sw_ctrl register section. 0011 reserved reserved. do not use these settings. 0100 spdt1 or spdt1 d i g i tal i np ut. s p d t1 sw i tch contr ol . s ee the s p d t1< 1:0> b i t d escr i p ti on i n the s w _c trl reg i ster secti on. 0101 spdt2 or spdt2 d i g i tal i np ut. s p d t2 sw i tch contr ol . s ee the s p d t2< 1:0> b i t d escr i p ti on i n the s w _c trl reg i ster secti on. 0110 sleep or sleep sleep-mode digital input. overrides power-control register and puts the part intosleep mode when asserted. when deasserted, power mode is determined by the shdn bit. 0111w u o r wu wake-up digital input. asserted edge clears shdn bit. 1000 1001 1010 reserved reserved. do not use these settings. 1011 pwm or pwm pwm digital output. signal defined by the pwm_ctrl register. pwm on (or high or1); assertion level defined by the alh_ bit. when pwm is disabled (pwme = 0), the upio pin idles high (dvdd or cpout) if alh = 1, and low (dgnd) if alh = 0. 1100 shdn or shdn power-supply shutdown digital output. equivalent to shdn bit. power-on default ofgpi with pullup ensures initial power-supply turn-on when upio is connected to a power supply with a shdn input. 1101 al_day or al_day rtc alarm digital output. asserts for time-of-day alarm events; equivalent to ald instatus register. 1110 reserved reserved. do not use these settings. 1111 drdy or drdy adc data-ready digital output. asserts when analog-to-digital conversion orcalibration completes. not masked by madd bit. table 16. upio mode configuration note: when multiple upio inputs are configured for the same input function, the inputs are ored together. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 51 maxim integrated upio_spi pass-through control register. these bitsmap the serial interface signals to the upio pins, allow- ing the das to drive other devices at cpout or dvdd voltage levels, depending on the sv_ bit setting found in the upio_ctrl register. individual bits are provided to set only the desired upio inputs to the spi pass- through mode. this mode becomes active when cs is driven high to complete the write to this register, andremains active as long as cs stays high (i.e., multiple pass-through writes are possible). the spi pass-through mode is deactivated immediately when cs is pulled low for the next das write.the upio_ state (both before and after the spi pass- through mode) is set by the up_md<3:0> and ll_ bits. when a upio is configured for spi pass-through mode and the cs is high, upr_, upf_, and ll_ continue to detect upio_ edges, which can still generate interrupts.see figure 19 for an spi pass-through timing diagram. up4s: upio4 spi pass-through-mode enable bit. a logic 1 maps the inverted cs signal to the upio4 pin. therefore, upio4 is low (near dgnd) when spi pass-through mode is active, and is high (near dvdd or cpout) when the mode is inactive. a logic 0 disables the upio4 spi pass-through mode. the power-on default is 0. up3s: upio3 spi pass-through-mode enable bit. a logic 1 maps the sclk signal to upio3 (directly with noinversion), while a logic 0 disables the upio3 spi pass- through mode. the power-on default is 0. up2s: upio2 spi pass-through-mode enable bit. a logic 1 maps the din signal to upio2 (directly with noinversion), while a logic 0 disables the upio2 spi pass- through mode. the power-on default is 0. up1s: upio1 spi pass-through-mode enable bit. a logic 1 maps the upio1 input signal to dout (directlywith no inversion), while a logic 0 disables the upio1 spi pass-through mode. the power-on default is 0. msb lsb up4s up3s up2s up1s x x x x upio_spi register (power-on state: 0000 xxxx) cs write to das to enable spi mode write through das to upio device normal write to das sclk din d n d n-1 d n-2 d n-3 d 3 d 2 d 1 d 0 e n e n-1 e n-2 e n-3 x x x x e n e n-1 e n-2 e n-3 x x x x d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 dout e 3 e 2 e 1 e 0 e 3 e 2 e 1 e 0 upio4 set by upio4_ctrl register set by upio4_ctrl register upio3 set by upio3_ctrl register set by upio3_ctrl register upio2 set by upio2_ctrl register set by upio2_ctrl register upio1 set by upio1_ctrl register set by upio1_ctrl register figure 18. spi pass-through timing diagram downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 52 maxim integrated the switch-control register controls the two spdtswitches (spdt1 and spdt2) and the daca output buffer spst switch (swa). control this switch by the serial bits in this register, by any of the upio pins that are enabled for that function, or by the pwm. swa: daca output buffer spst-switch a control bit. the swa bit, the upio inputs (if configured), and thepwm (if configured) control the state of the swa switch as shown in table 17. the upio_ states of 0 and 1 in the table correspond to respective deasserted and asserted logic states as defined by the alh_ bit of the upio_ctrl register. if a upio is not configured for this mode, its value applied to the table is 0. the pwm states of 0 and 1 in the table correspond to the respective pwm off (or low) and on (or high) states defined by the swah and swal bits (see the pwm_ctrl register section). if the pwm is not configured for this mode, itsvalue applied to the table is 0. the power-on default is 0. spdt1<1:0>: single-pole double-throw switch 1 control bits. the spdt1<1:0> bits, the upio pins (if config-ured), and the pwm (if configured) control the state of the switch as shown in table 18. the upio_ states of 0 and 1 in the table correspond to respective deasserted and asserted logic states as defined by the alh_ bit of the upio_ctrl register. if a upio is not configured for this mode, its value applied to table 18 is 0. the pwm states of 0 and 1 in table 18 correspond to the respec- tive pwm off (low) and on (high) states defined by the spd1 bit in the pwm_ctrl register. if the pwm is not configured for this mode, its value applied to table 18 is 0. the power-on default is 00. spdt2<1:0>: single-pole double-throw switch 2 control bits. the spdt2<1:0> bits, the upio pins (if config-ured), and the pwm (if configured) control the state of the switch as shown in table 19. the upio_ states of 0 and 1 in the table correspond to respective deasserted and asserted logic states as defined by the alh_ bit in the upio_ctrl register. if a upio is not configured for this mode, its value applied to table 19 is 0. the pwm states of 0 and 1 in table 19 correspond to the respec- tive pwm off (low) and on (high) states defined by the spd2 bit in the pwm_ctrl register. if the pwm is not configured for this mode, its value applied to table 19 is 0. the power-on default is 00. msb lsb swa x spdt11 spdt10 spdt21 spdt20 x x sw_ctrl register (power-on state: 0000 00xx) swa bit* upio_* pwm* swa switch state 0 0 0 switch open x x 1 switch closed x 1 x switch closed 1 x x switch closed table 17. swa states x = dont care. * switch sw_ control is effectively an or of the sw_ bit, upio pins, and pwm. spdt1<1:0> upio_* pwm* spdt1 switch state 0 0 0 0 sno1 open, snc1 open 0 x x 1 sno1 closed, snc1 closed 0 x 1 x sno1 closed, snc1 closed 0 1 x x sno1 closed, snc1 closed 1 0 0 0 snc1 closed, sno1 open 1 x x 1 snc1 open, sno1 closed 1 x 1 x snc1 open, sno1 closed 1 1 x x snc1 open, sno1 closed table 18. spdt switch 1 states x = dont care. * switch spdt1 control is effectively an or of the spdt10 bit, the upio pins, and the pwm output. the spdt11 bit determines if the switches open and close together or if they toggle. spdt2<1:0> upio_* pwm* spdt2 switch state 0 0 0 0 sno2 open, snc2 open 0 x x 1 sno2 closed, snc2 closed 0 x 1 x sno2 closed, snc2 closed 0 1 x x sno2 closed, snc2 closed 1 0 0 0 snc2 closed, sno2 open 1 x x 1 snc2 open, sno2 closed 1 x 1 x snc2 open, sno2 closed 1 1 x x snc2 open, sno2 closed table 19. spdt switch 2 states x = dont care. * switch spdt2 control is effectively an or of the spdt20 bit, the upio pins, and the pwm output. the spdt21 bit determines if the switches open and close together or if they toggle. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 53 maxim integrated this register is the internal temperature sensor calibra-tion register. tgain<7:0>: factory-preset temperature gain correction coefficient bits. this is the linear scaling factor used toderive absolute temperature values from temperature val- ues measured with the internal temperature sensor (t actual = t meas x t gain + t offs ). the coefficients are optimized for an internal voltage reference of 1.25v usingthe four-current method. the power-on default varies. toffs<5:0>: factory-preset temperature offset cor- rection coefficient bits. this is the linear offset factorused to derive absolute temperature values from tem- perature values measured with the internal temperature sensor (t actual = t meas x t gain + t offs ). the coeffi- cients are optimized for an internal voltage reference of1.25v using the four-cu rrent method. the power-on default varies. the temperature-sensor control register controls theinternal and external temperature measurement. imux<1:0>: internal current-source mux bits. selects the pin to be driven by the internal current sources asshown in table 20. the power-on default is 00. ival<1:0>: internal current-source value bits. selects the value of the internal current source as shown intable 21. the power-on default is 00. msb lsb imux1 imux0 ival1 ival0 x x x x temp_ctrl register (power-on state: 0000 xxxx) current source imux1 imux0 disabled 0 0 internal temperature sensor 0 1 ain1 1 0 ain2 1 1 table 20. selecting internal current source current typical current (a) ival1 ival0 i 1 40 0 i 2 60 0 1 i 3 64 1 0 i 4 120 1 1 table 21. setting the current level msb tgain7 tgain6 tgain5 tgain4 tgain3 tgain2 tgain1 tgain0 lsb toffs5 toffs4 toffs3 toffs2 toffs1 toffs0 x x temp_cal register (power-on state: varies by factory calibration) downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 54 maxim integrated msb mldvd mlcpd mado msdc mcrdy madd mald x lsb mupr4 mupr3 mupr2 mupr1 mupf4 mupf3 mupf2 mupf1 imsk register (power-on state: 1111 011x 1111 1111) msb lsb ldoe cpe lsde cpde hyse rste x x ps_vmons register (power-on state: 0010 01xx) this register is the power-supply and voltage monitorscontrol register. ldoe: low-dropout linear-regulator enable bit. set ldoe = 1 to enable the low-dropout linear regulator toprovide the internal source voltage for the charge pump. set ldoe = 0 to disable the ldo, allowing an external drive to the charge-pump input through reg. the power-on default value is 0. cpe: charge-pump enable bit. set cpe = 1 to enable the charge-pump doubler, and set cpe = 0 to disable thecharge-pump doubler. the power-on default value is 0. lsde: dvdd low-supply voltage-detector power- enable bit. set lsde = 1 to enable the +1.8v (dvdd)low-supply-voltage detector, and set lsde = 0 to disable the dvdd low-supply-voltage detector. thepower-on default value is 1. cpde: cpout low-supply voltage-detector power- enable bit. set cpde = 1 to enable the +2.7v cpoutlow-supply voltage-detector comparator, and set cpde = 0 to disable the cpout low-supply voltage-detector comparator. the power-on default value is 0. hyse: dvdd low-supply voltage-detector hysteresis- enable bit. set hyse = 1 to set the hysteresis for the+1.8v (dvdd) low-supply-voltage detector to +200mv, and set hyse = 0 to set the hysteresis to +20mv. on initial power-up, the hysteresis is +20mv and can be pro- grammed to 200mv once reset goes high. once pro- grammed to +200mv, the dvdd falling threshold is +1.8vnominally and the rising threshold is +2.0v nominally. the the imsk register determines which bits of the statusregister generate an interrupt on int. the bits in this register do not mask output signals routed to upio since the output signals are masked by disabling that upio function. mldvd: ldvd status bit mask. set mldvd = 0 to enable the ldvd status bit interrupt to int, and setmldvd = 1 to mask the ldvd status bit interrupt. the power-on default value is 1. mlcpd: lcp status bit mask. set mlcpd = 0 to enable the lcp status bit interrupt to int, and setmlcpd = 1 to mask the lcp status bit interrupt. the power-on default value is 1. mado: ado status bit mask. set mado = 0 to enable the ado status bit interrupt to int, and set mado = 1to mask the ado status bit interrupt. the power-on default value is 1. msdc: sdc status bit mask. set msdc = 0 to enable the sdc status bit interrupt to int, and set msdc = 1to mask the sdc status bit interrupt. the power-on default value is 1. mcrdy: crd status bit mask. set mcrdy = 0 to enable the crdy status bit interrupt to int, and set mcrdy = 1 to mask the crdy status bit interrupt. thepower-on default value is 0. madd: add status bit mask. set madd = 0 to enable the add status bit interrupt to int, and set madd = 1to mask the add status bit interrupt. the power-on default value is 1. mald: ald status bit mask. set mald = 0 to enable the ald status bit interrupt to int, and set mald = 1 tomask the ald status bit interrupt. the power-on default value is 1. mupr<4:1>: upr<4:1> status bits mask. set mupr_ = 0 to enable the upr_ status bit interrupt to int, and setmupr_ = 1 to mask the upr_ status bit interrupt. (_ = 1, 2, 3, or 4 and corresponds to the upio1, upio2, upio3, or upio4 pins, respectively.) the power-on default value is f hex. mupf<4:1>: upf<4:1> status bits mask. set mupf_ = 0 to enable the upf_ status bit interrupt to int, and setmupf_ = 1 to mask the upf_ status bit interrupt. (_ = 1, 2, 3, or 4 and corresponds to the upio1, upio2, upio3, or upio4 pins, respectively.) the power-on default value is f hex. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 55 maxim integrated the status register contains the status bits of events invarious system blocks. any status bits not masked in the imsk register cause an interrupt on int. some of the status bit setting events (gpi, wakeup, alarm, drdy) can be directed to upio_ to provide multiple c inter- rupt inputs. there are no specific mask bits for the upio interrupt signals since the bits are effectively masked by selecting a different function for upio. the status bits always record the triggering event(s), even for masked bits, which do not generate an interrupt on int. it is pos- sible to set multiple status bits during a single int interrupt event. clear all status bits except for add and adou by reading the status register. during a status register read, int deasserts when the first status data bit (ldvd) reads out (9th rising sclk) and remains deasserted until shortly after the last status data bit (~15ns). at this point, int reasserts if any status bit is set during the status register read. if the status register is partially read (i.e., the read is aborted midway), none of the status bits are cleared. new events occurring during a status register read, or events that persist after reading the status bits result in another interrupt immediately after the status register read finishes. this is a read-only register. ldvd: low dvdd voltage-detector status bit. ldvd = 1 indicates dvdd is below the +1.8v threshold; other-wise ldvd = 0. ldvd clears during the status register read as long as the condition does not persist. otherwise, the ldvd bit reasserts immediately. if the dvdd low voltage detector is disabled, ldvd = 0. the power-on default is 0. lcpd: low cpout voltage-detector status bit. lcpd = 1 indicates cpout is below the +2.7v threshold; other-wise lcpd = 0. lcpd clears during the status regis- ter read as long as the condition does not persist. otherwise the lcpd bit reasserts immediately. lcpd = 0 when the cpout low voltage detector is disabled. the power-on default is 0. adou: adc overflow/underflow status bit. adou = 1 indicates an adc underflow or overflow condition in thecurrent adc result. new conversions that are valid clear the adou bit. adou = 0 when the adc data is valid or the adc is disabled (adce = 0). an underflow condition occurs when the adc data is theoretically less than 0000 hex in unipolar mode and less than 8000 hex in bipolar mode. an overflow condition occurs when the adc data is theoretically greater than ffff hex in unipolar mode and greater than 7fff hex in bipolar mode. use this bit to determine the validity of an adc result at the maximum or minimum code values (i.e., 0000 hex or ffff hex for unipolar mode and 8000 hex and 7fff hex for bipolar mode). the power-on default is 0. reading the status register does not clear the adou bit. sdc: signal-detect comparator status bit. when sdc = 1, the positive input to the signal-detect comparatorexceeds the negative input plus the programmed thresh- old voltage. the sdc bit clears during the status regis- ter read unless the condition remains true. the sdc bit also deasserts when the signal-detect comparator pow- ers down (sdce = 0). the power-on default is 0. crdy: high-frequency-clock ready status bit. crdy = 1 indicates a locked high-frequency clock to the 32khzreference frequency by the fll. the crdy bit clears during the status register read. this bit only asserts after power-up or after enabling the fll using the flle bit. the power-on default is 0. add: adc-done status bit. add = 1 indicates a com- pleted adc conversion or calibration. clear the add bitby reading the appropriate adc data, offset, or gain-cali- bration registers. the adc status bit also clears when a new adc result updates to the data or calibration regis- ters (i.e., it follows the assertion level of the upio = drdy signal). reading the status register does not clear this bit. this bit is equivalent to the drdy signal available through upio_. the power-on default is 0. hysteresis helps eliminate chatter when running directly offunregulated batteries. if dvdd falls below +1.3v (typ), the power-on reset circuitry is enabled and the hyse bit is deasserted setting the hysteresis back to +20mv. the power-on default is 0. rste: reset output enable bit. set rste = 1 to enable reset to be controlled by the +1.8v dvdd low- supply-voltage detector, and set rste = 0 to disablethis control. the power-on default is 1. msb ldvd lcpd adou sdc crdy add ald x lsb upr4 upr3 upr2 upr1 upf4 upf3 upf2 upf1 status register (power-on state: 0000 000x 0000 0000) downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 56 maxim integrated ald: alarm (day) status bit. ald = 1 when the value programmed in asec<19:0> in the al_day registermatches sec<19:0> in the rtc register. clear the ald bit by reading the status register or by disabling the day alarm (ade = 0). the power-on default is 0. upr<4:1>: user-programmable i/o rising-edge status bits. upr_ = 1 indicates a rising edge on the respec-tive upio_ pin has occurred. clear upr_ by reading the status register. rising edges are detected inde- pendent of upio_ configuration, providing the ability to capture and record rising input (e.g., wu) or output (e.g., pwm) edge events on the upio_. set the appro- priate mask to determine if the edge will generate an interrupt on int. if the upio_ is configured as an out- put, int provides confirmation that an intended rising edge output occurred and has reached the desired dvdd or cpout level (i.e., was not loaded down exter- nally). the power-on default is 0. upf<4:1>: user-programmable i/o falling-edge status bit. upf_ = 1 indicates a falling edge on the respectiveupio_ has occurred. clear upf_ by reading the status register. falling edges are detected indepen- dent of upio_ configuration, providing the ability to cap- ture and record falling input (e.g., wu) or output (e.g., pwm) edge events on the upio_. set the appropriate mask to determine if that edge should generate an inter- rupt on the int pin. if the upio is configured as an out- put, int provides confirmation that an intended falling edge output occurred at the pin and it reached the desired dgnd level. the power-on default is 0. applications information analog filtering the internal digital filter does not provide rejectionclose to the harmonics of the modulator sample fre- quency. however, due to high oversampling ratios in the MAX11359A, these bands typically occupy a small fraction of the spectrum and most broadband noise is filtered. therefore, the analog filtering requirements in front of the MAX11359A are considerably reduced compared to a conventional converter with no on-chip filtering. in addition, because the devices common- mode rejection (60db) extends out to several khz, the common-mode noise susceptibility in this frequency range is substantially reduced. depending on the application, provide filtering prior to the MAX11359A to eliminate unwanted frequencies the digital filter does not reject. providing additional filtering in some applications ensures that differential noise signals outside the frequency band of interest do not saturate the analog modulator. when placing passive components in front of theMAX11359A, ensure a low enough source impedance to prevent introducing gain errors to the system. this configuration significantly limits the amount of passive anti-aliasing filtering that can be applied in front of the MAX11359A. see table 3 for acceptable source impedances. power-on reset or power-up after a power-on reset, the dvdd voltage supervisor isenabled and all upios are configured as inputs with pullups enabled. the internal oscillators are enabled and are output at clk and clk32k once the dvdd voltage supervisor is cleared and the subsequent timeout period has expired. all interrupts are masked except crdy. figure 19 illustrates the timing of various signals during initial power-up, sleep mode, and wake-up events. the adc, charge pump, internal reference, op amp(s), dac, and switches are disabled after power-up. power modes two power modes are available for the MAX11359A:sleep and normal mode. in sleep mode, all functional blocks are powered down except the serial interface, data registers, internal bandgap, wake-up circuitry (if enabled), dvdd voltage supervisor (if enabled), and the 32khz oscillator (if enabled), which remain active. see table 15 for details of the sleep-mode and normal- mode power states of the various internal blocks. each analog block can be shut down individually through its respective control register with the excep- tion of the bandgap reference. sleep mode sleep mode is entered one of three ways: ? writing to the sleep register address. the result is the shdn bit is set to 1. ? asserting the sleep or sleep function on a upio (sleep takes precedence over software writes orwake-up events). the shdn bit is unaffected. ? asserting the shdn bit by writing slp = 1 in the sleep_cfg register. entering sleep mode is an or function of the upio orshdn bit. before entering sleep mode, configure the normal mode conditions. exit sleep mode and enter normal mode by one of the following methods: ? with the shdn bit = 0, deassert the sleep or sleep function on upio, only if sleep or sleep function is used for entering sleep mode. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 57 maxim integrated internal low dvdd detector output disabled, but pulled low output enabled sclk, din cs dout internal drdy upio( pwm ) connected to power supply shdn pin int upio( shdn ) upio( wu ) (int. pullup) ck32k (32khz) sck32e = 0 buffer disabled ck32e = 1 ck32e = 1 xin, xout (32khz) sosce = 1 osce = 1 osce = 1 por dvdd 1.8v avdd 1.8v reset (open-drain) internal external internal crdy hfce = 1, flle = 1 clk lo hi lo hi lo hi lo hi lo hi lo hi lo hi lo hi lo hi lo hi lo hi lo hi 0v 1 2 0v 1 2 lo hi lo hi lo hi sleepwrite three-stated spwme = 1 pwme = 0 pwme = 0 power supply off power supply off t dpu t dfi t dfi internal t wu t dfon t dfon t dfof t dpd internal if flle = 0, crdy will stay low, dfon = 0 ) initial power, wake-up, and sleep xtal b/w 32kin and 32kout pin figure 19. initial power-up, sleep mode, and wake-up timing diagram with v avdd > 1.8v downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 58 maxim integrated ? with the sleep or sleep function deasserted on upio, clear the shdn bit by writing to the normal-mode register address control byte. ? with the sleep or sleep function deasserted, assert wu or wu (wake-up) function on upio. ? with the sleep or sleep function deasserted, the day alarm triggers. wake-up a wake-up event, such as an assertion of a upio con-figured as wu or a time-of-day alarm causes the MAX11359A to exit sleep mode, if in sleep mode. a wake-up event in normal mode results only in a wake-up event being recorded in the status register. reset the reset output pulls low for any one of the following cases: power-on reset, dvdd monitor trips and rste =0, watchdog timer expires, crystal oscillator is attached, and 32khz clock not ready. the reset output can be turned off through the rste bit in the ps_vmons register, causing dvdd low sup-ply voltage events to issue an interrupt or poll through the ldvd status bit. this allows brownout detection cs that operate with v dvdd < 1.8v. driving upio outputs to avdd levels upio outputs can be driven to avdd levels in systemswith separate avdd and dvdd supplies. disable the charge-pump doubler by setting cpe = 0 in the ps_vmons register, and connect the systems analog supply to avdd and cpout. setting upio outputs todrive to cpout results in avdd-referenced logic levels. supply voltage measurement the avdd supply voltage can be measured with theadc by reversing the normal input and reference sig- nal s. the ref voltage is applied to one multiplexer input, and agnd is selected in the other. the avdd signal is then switched in as the adc reference voltage and a conversion is performed. the avdd value can then be calculated directly as: v avdd = (v ref x gain x 65536)/n where v ref is the reference voltage for the adc, gain is the pga gain before the adc, and n is the adcresult. note the avdd voltage must be greater than the gained-up ref voltage (v avdd > v ref x gain). this measurement must be done in unipolar mode. 0000 0000 0000 0000 0000 0000 0000 0001 0000 0000 0000 0010 65,535 65,533 input voltage (lsb) binary output code 1111 1111 1111 1101 1111 1111 1111 1110 1111 1111 1111 1111 1 lsb = v ref (gain x 65,536) 0 2 v ref /gain v ref /gain 13 1111 1111 1111 1100 0000 0000 0000 0011 full-scale transition figure 20. adc unipolar transfer function MAX11359A dac a outa fba figure 22. dac unipolar output circuit 0+1 -1 1000 0000 0000 0000 1000 0000 0000 0001 1000 0000 0000 0010 +32,767 +32,765 input voltage (lsb) binary output code 0111 1111 1111 1101 0111 1111 1111 1110 0111 1111 1111 1111 0000 0000 0000 0000 0000 0000 0000 0001 1111 1111 1111 1111 1 lsb = v ref (gain x 65,536) x 2 -32,768 -32,766 v ref /gain v ref /gain v ref /gain v ref /gain figure 21. adc bipolar transfer function downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 59 maxim integrated power supplies avdd and dvdd provide power to the MAX11359A. theav dd powers up the analog section, while the dvdd pow- ers up the digital section. the power supply for both avddand dvdd ranges from +1.8v to +3.6v. both avdd and dvdd must be greater than +1.8v for device operation. avdd and dvdd can connect to the same power supply. bypass avdd to agnd with a 10f electrolytic capacitor in parallel with a 0.1f ceramic capacitor, and bypass dvdd to dgnd with a 10f electrolytic capacitor in paral- lel with a 0.1f ceramic capacitor. for improved perfor- mance, place the bypass capacitors as close to the device as possible. adc transfer functions figures 20 and 21 provide the adc transfer functionsfor unipolar and bipolar mode. the digital output code format is binary for unipolar mode and twos comple- ment for bipolar mode. calculate 1 lsb using the fol- lowing equations: 1 lsb (unipolar mode) = v ref /(gain x 65,536) 1 lsb (bipolar mode) = 2v ref /(gain x 65,536) where v ref equals the reference voltage at ref and gain equals the pga gain. in unipolar mode, the output code ranges from 0 to65,535 for inputs from zero to full-scale. in bipolar mode, the output code ranges from -32,768 to +32,767 for inputs from negative full-scale to positive full-scale. dac unipolar output for a unipolar output, the output voltages and the refer-ence have the same polarity. figure 22 shows the unipolar output circuit of the MAX11359A, which is also the typical operating circuit for the dac. table 22 lists some unipolar input codes and their corresponding output voltages. for larger output swing, see figure 23. this circuit shows the output amplifiers configured with a closed- loop gain of +2v/v to provide 0 to 2.5v full-scale range with the 1.25v reference. dac bipolar output the MAX11359A dac output can be configured forbipolar operation using the application circuit in figure 24: where n is the decimal value of the dacs binary input code. table 23 shows digital codes (offset binary) and corre- sponding output voltages for figure 24 assuming r 1 = r 2 . vv n out ref = ? ? ? ? ? ? ? ? ? ? ? ? 2 1024 1 MAX11359A dac a outa v ref = 1.25v fba 10k ? 10k ? r 2 r 2 = r 1 r 1 MAX11359A dac_ out_ v out +3.3v -3.3v fb_ v ref = 1.25v v ref figure 24. dac bipolar output circuit figure 23. dac unipolar rail-to-rail output circuit dac contents msb lsb analog output 1111 1111 11 +v ref (1023/1024) 1000 0000 01 +v ref (513/1024) 1000 0000 00 +v ref (512/1024) = +v ref /2 0111 1111 11 +v ref (511/1024) 0000 0000 01 +v ref (1/1024) 0000 0000 00 0 table 22. unipolar code dac contents msb lsb analog output 1111 1111 11 +v ref (511/512) 1000 0000 01 +v ref (1/512) 1000 0000 00 0 0111 1111 11 -v ref (1/512) 0000 0000 01 -v ref (511/512) 0000 0000 00 -v ref (512/512) = -v ref table 23. bipolar code downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 60 maxim integrated MAX11359A 32kin 100k ? cmos clock (0 to v dvdd ) 100k ? figure 25. clocking with a cmos signal MAX11359A upio1 gpion ain1 x2 v ref = 1.25v battvcheck < 0.6125v v batt1 backlight v dd note: gpion is low = led on, high-z = led off p v batt2 figure 26. input multiplexer clocking with a cmos signal a cmos signal can be used to drive 32kin if it isdivided down. figure 25 is an example circuit, which works well. input multiplexer the mux inputs can range between agnd to avdd.however, when the internal temperature sensor is enabled, ain1 and ain2 cannot exceed 0.7v. this necessitates additional circuitry to divide down the input signal. see figure 26 for an example circuit that divides down backlight v dd to work properly with the ain1 pin. optical reflectometry application with dual led and single photodiode figure 27 illustrates the MAX11359A in a complete opti-cal reflectometry application with two transmitting leds and one receiving photodiode. the leds transmit light at a specific wavelength onto the sample strip, and the photodiode receives the reflections from the strip. set the dac to provide appropriate bias currents for the leds. always keep the photodiodes reverse-biased or zero-biased. spdt1 and spdt2 switch between the two leds. electrochemical sensor operation the MAX11359A family interfaces with electrochemicalsensors. the 10-bit dac with the force-sense buffers have the flexibility to connect to many different types of sensors. an external precision resistor completes the transimpedance amplifier configuration to convert the current generated by the sensor to a voltage measure- ment using the adc. the induced error from this source is negligible due to fbas extremely low input bias cur- rent. internally, the adc can differentially measure directly across the external transimpedance resistor,rf, eliminating any errors due to voltages drifting over time, temperature, or supply voltage. temperature measurement with two remote sensors use two diode-connected 2n3904 transistors for exter-nal temperature sensing in figure 28. select ain1 and ain2 through the positive and negative mux, respec- tively. for internal temperature sensor measurements, set muxp<3:0> to 0111, and set muxn<3:0> to 0000. the analog input signals feed through a pga to the adc for conversion. programmable-gain instrumentation amplifier use two op amps and two spdt switches to implementa programmable-gain instrumentation amplifier as shown in figure 29. pwm applications the MAX11359A integrated pwm is available for lcd biascontrol, sensor-bias voltage trimming, buzzer drive, and duty-cycled sleep-mode power-control schemes. figure 30 shows the MAX11359A performing lcd bias control. a sensor-bias voltage trimming application is shown in figure 31. figures 33 and 34 show the pwm circuitry being used in a single-ended and differential piezo- electric buzzer-driving application. adc calibration internal to the MAX11359A, the adc is 24 bits and isalways in bipolar mode. the offset cal and gain cal data are also 24 bits. the conversion to unipolar and the gain are performed digitally. the default values for the offset cal and gain cal registers in the MAX11359A are 00 0000h and 80 0000h, respectively. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 61 maxim integrated c down up mem v ss inputinput input upio2 upio1 upio3 upio4 MAX11359A din dout sclkcs reset int clk clk32k avdd dvdd test strip v ss agnddgnd 32kin 32kout 32.768khz linear reg dvdd charge- pump doubler v ss reg cf+cf- cpout v ss v bat 2 aaa or1 lithium coin cell v ss v ss v dd cs2 reset input x2in 32kin eeprom v ss v bat gnd v cc cs sisck so serial-port interface v ss cs1 sck miso mosi v ss v cp v ss txd rxd v cp high-frequency micro clock 32khz micro clock lcd module bdin bdoutbsclk bcs2 v ss v cp in2- in2+ out2 in1- in1+ out1 v ss adc pwm daca ref bg led v cp v cp led ambient light led sources snc1 scm1 sno1 fba v ss swa outa ain1 ain2 scm2 snc2 sno2 v ss 1nf v ss cs2 figure 27. optical reflectometry application with dual led and single photodiode downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 62 maxim integrated the calibration works as follows: adc = (raw - offset) x gain x pga where adc is the conversion result in the data register,raw is the output of the decimation filter internal to the MAX11359A, offset is the value stored in the offset cal register, gain is the value stored in the gain cal register, and pga is the selected pga gain found in the adc register as gain<1:0>. in unipolar mode, all nega- tive values return a zero result and an additional gain of 2 is added. for self-calibration, the offset value is the raw result when the inputs are shorted internally and the gain value is 1/(raw - offset) with the reference connected to the input. this is done automatically when these modes are selected. the self offset and gain calibration corrects for errors internal to the adc and the results are stored and used automatically in the offset cal and gain cal registers. for best results, use the adc in the same con- figuration as the calibration. this pertains to conversion rate only because the pga gain and unipolar/bipolar modes are performed digitally. for system calibration, the offset and gain values cor- rect for errors in the whole signal path including the internal adc and any external circuits in the signal path. for the system calibration, a user-provided zero- input condition is required for the offset calibration and a user-provided full-scale input is required for the gain calibration. these values are automatically written to the offset cal and gain cal registers. the order of the calibrations should be offset followed by gain. the offset correction value is in twos complement. the default value is 000000h, 00...00b, or 0 decimal. the gain correction value is an unsigned binary number with 23 bits to the right of the decimal point. the largest number is therefore 1.1111...1b = 2 - 2 -23 and the small- est is 0.000...0b = 0, although it does not make sense touse a number smaller than 0.1000...0b = 0.5. the default value is 800000h, 1.000...0b or 1 decimal. changing the offset or gain calibration values does not affect the value in the data register until a new conver- sion has completed. this applies to all the mode bits for pga gain, unipolar/bipolar, etc. grounding and layout for best performance, use pcb with separate analogand digital ground planes. design the pcb so that the analog and digital sections are separated and confined to different areas of the board. join the digital and analog ground planes at one point. if the das is the only device requiring an agnd-to-dgnd connection, connect planes to the agnd pin of the das. in systems where multiple devices require agnd-to- dgnd connections, the connection should still be made at only one point. make the star ground as close as possi- ble to the MAX11359A. avoid running digital lines under the device becausethese may couple noise onto the device. run the ana- log ground plane under the MAX11359A to minimize coupling of digital noise. make the power-supply lines to the MAX11359A as wide as possible to provide low- impedance paths and reduce the effects of glitches on the power-supply line. shield fast-switching signals such as clocks with digital ground to avoid radiating noise to other sections of the board. avoid running clock signals near the analog inputs. avoid crossover of digital and analog signals. good decoupling is important when using high-resolu- tion adcs. decouple all analog supplies with 10f capacitors in parallel with 0.1f hf ceramic capacitors to agnd. place these components as close to the device as possible to achieve the best decoupling. crystal layout follow basic layout guidelines when placing a crystalon a pcb with a das to avoid coupled noise: 1) place the crystal as close as possible to 32kin and 32kout. keeping the trace lengths between thecrystal and inputs as short as possible reduces the probability of noise coupling by reducing the length of the antennae. keep the 32kin and 32kout lines close to each other to minimize the loop area of the clock lines. keeping the trace lengths short also decreases the amount of stray capacitance. 2) keep the crystal solder pads and trace width to 32kin and 32kout as small as possible. the larg-er these bond pads and traces are, the more likely it is that noise will couple from adjacent signals. 3) place a guard ring (connect to ground) around the crystal to isolate the crystal from noise coupledfrom adjacent signals. 4) ensure that no signals on other pcb layers run directly below the crystal or below the traces to32kin and 32kout. the more the crystal is isolat- ed from other signals on the board, the less likely it is that noise will be coupled into the crystal. maintain a minimum distance of 5mm between any digital signal and any trace connected to 32kin or 32kout. downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 63 maxim integrated 5) place a local ground plane on the pcb layer imme- diately below the crystal guard ring. this helps toisolate the crystal from noise coupling from signals on other pcb layers. note: the ground plane must be in the vicinity of the crystal only and not on the entire board. parameter definitions inl integral nonlinearity (inl) is the deviation of the values onan actual transfer function from a straight line. this straight line is either a best-straight-line fit or a line drawn between the end points of the transfer function, once off- set and gain errors have been nulled. inl for the MAX11359A is measured using the end-point method. dnl differential nonlinearity (dnl) is the difference betweenan actual step width and the ideal value of 1 lsb. a dnl error specification of greater than -1 lsb guarantees no missing codes and a monotonic transfer function. gain error gain error is the amount of deviation between the mea-sured full-scale transition point and the ideal full-scale transition point. a v = 1, 2, 4, 8 a v = 1, 1.638, 2 MAX11359A pga mux 2n3904 16-bit adc c ref ref ref mux temp sensor ain1 agnd ain2 agnd 2n3904 1.25v ref figure 28. temperature measurement with two remote sensors MAX11359A r 3 r 2 r 2 r 3 r 1 r 1 in1+in1- scm1 v out scm2 out1 sno1snc1 sno2 snc2 v in+ v in- out2 in2+in2- figure 29. programmable-gain instrumentation amplifier downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 64 maxim integrated common-mode rejection common-mode rejection (cmr) is the ability of adevice to reject a signal that is common to both input terminals. the common-mode signal can be either an ac or a dc signal or a combination of the two. cmr is often expressed in decibels. power-supply rejection ratio (psrr) power-supply rejection ratio (psrr) is the ratio of theinput supply change (in volts) to the change in the converter output (in volts). it is typically measured in decibels. ref sno1 scm1 snc1 agnd spdt1 pwm in1+in1- out1 transducer 0.300v ( 1mv) i t 0.1 f 60k ~0.3v 240k 350k ~19khz voltage ripple < 1mv ~1.25v MAX11359A figure 31. sensor-bias voltage trim application MAX11359A (1.8vto 2.6v) 0.01 f c mux sv_ alh_ upio_ lcd drivers seg lcd com n m cpout 200k ? 100k ? 100k ? 100k ? 100k ? pwm dvdd cpout en_ figure 30. lcd contrast-adjustment application downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 65 maxim integrated shdn pwm alh_ upio_ sv_ dvdd cpout mux MAX11359A v in v out power supply avdd v dd c 100 f < 10 a v dd psctl v batt dvdd on-time <100ms typ 10s period typ +3.3v v dd +2.3v psctl en_ 10m figure 32. power-supply sleep-mode duty-cycle control pwm alh_ upio_ sv_ dvdd cpout mux 1k ? 0v cpout(+3.2v) 1khz to 8khz typ ~10,000pf MAX11359A figure 33. single-ended piezoelectric buzzer drive downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor 66 maxim integrated MAX11359A mux sv_ alh_ upio_ 1k ? pwm dvdd cpout mux sv_ alh_ upio_ 1k ? dvdd cpout 0v0v cpout(+3.2v) cpout + 6.4v diff - -cpout cpout(~+3.2v) 1khz to 8khz typ 1khz to 8khz typ ~10,000pf figure 34. differential piezoelectric buzzer drive chip information process: bicmos package information for the latest package outline information and land patterns (foot-prints), go to www.maximintegrated.com/packages . note that a +, #, or - in the package code indicates rohs status only.package drawings may show a different suffix character, but the drawing pertains to the package regardless of rohs status. package type package code outline no. land pattern no. 40 tqfn-ep t4066+5 21-0141 90-0055 downloaded from: http:///
MAX11359A 16-bit data-acquisition system with adc, dac, upios, rtc, voltage monitors, and temp sensor maxim integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim integrated product. no circuit patent licenses are implied. maxim integrated reserves the right to change the circuitry and specifications without notice at any time. the parametric values (min and max limits) shown in the electrical characteristics table are guaranteed. other parametric values quoted in this data sheet are provided for guidance. maxim integrated 160 rio robles, san jose, ca 95134 usa 1-408-601-1000 ________________________________ 67 ? 2012 maxim integrated products, inc. maxim integrated and the maxim integrated logo are trademarks of maxim integrated products, inc. revision history revision number revision date description pages changed 0 5/09 initial release 1 1/12 updated package information and style updates. 1C10, 12C29, 31, 32, 35, 45, 46, 48C51, 54-61, 64C66 downloaded from: http:///


▲Up To Search▲   

 
Price & Availability of MAX11359A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X